depot/third_party/nixpkgs/pkgs/applications/video/subdl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
695 B
Nix

{ stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation {
name = "subdl-0.0pre.2017.11.06";
src = fetchFromGitHub {
owner = "alexanderwink";
repo = "subdl";
rev = "4cf5789b11f0ff3f863b704b336190bf968cd471";
sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8";
};
meta = {
homepage = "https://github.com/alexanderwink/subdl";
description = "A command-line tool to download subtitles from opensubtitles.org";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.exfalso ];
};
buildInputs = [ python3 ];
installPhase = ''
install -vD subdl $out/bin/subdl
'';
}