diff options
author | exfalso <0slemi0@gmail.com> | 2017-12-26 18:39:45 +0000 |
---|---|---|
committer | exfalso <0slemi0@gmail.com> | 2017-12-26 20:53:18 +0000 |
commit | 9cfe7e74e0c2b8e160ef10dd9249ba9c98306a32 (patch) | |
tree | dfcda37b824b92f4bf49ad5d3ed3761ee7f95883 /pkgs/applications/video/subdl | |
parent | 4271a210b0ac9fbbea5382ddee1cfa835f3e35b9 (diff) |
subdl: init at 4cf5789
Diffstat (limited to 'pkgs/applications/video/subdl')
-rw-r--r-- | pkgs/applications/video/subdl/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/video/subdl/default.nix b/pkgs/applications/video/subdl/default.nix new file mode 100644 index 0000000000000..5f800ed8414db --- /dev/null +++ b/pkgs/applications/video/subdl/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, python3 }: + +stdenv.mkDerivation rec { + name = "subdl"; + + 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 + ''; +} |