Merge pull request #33088 from exFalso/add-subdl

init subdl package

authored by Michael Raskin and committed by GitHub 907474e6 fdcbb263

+29
+1
lib/maintainers.nix
··· 225 ertes = "Ertugrul Söylemez <esz@posteo.de>"; 226 ethercrow = "Dmitry Ivanov <ethercrow@gmail.com>"; 227 etu = "Elis Hirwing <elis@hirwing.se>"; 228 exi = "Reno Reckling <nixos@reckling.org>"; 229 exlevan = "Alexey Levan <exlevan@gmail.com>"; 230 expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
··· 225 ertes = "Ertugrul Söylemez <esz@posteo.de>"; 226 ethercrow = "Dmitry Ivanov <ethercrow@gmail.com>"; 227 etu = "Elis Hirwing <elis@hirwing.se>"; 228 + exfalso = "Andras Slemmer <0slemi0@gmail.com>"; 229 exi = "Reno Reckling <nixos@reckling.org>"; 230 exlevan = "Alexey Levan <exlevan@gmail.com>"; 231 expipiplus1 = "Joe Hermaszewski <nix@monoid.al>";
+26
pkgs/applications/video/subdl/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, python3 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "subdl-0.0pre.2017.11.06"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "alexanderwink"; 8 + repo = "subdl"; 9 + rev = "4cf5789b11f0ff3f863b704b336190bf968cd471"; 10 + sha256 = "0kmk5ck1j49q4ww0lvas2767kwnzhkq0vdwkmjypdx5zkxz73fn8"; 11 + }; 12 + 13 + meta = { 14 + homepage = https://github.com/alexanderwink/subdl; 15 + description = "A command-line tool to download subtitles from opensubtitles.org"; 16 + platforms = stdenv.lib.platforms.all; 17 + license = stdenv.lib.licenses.gpl3; 18 + maintainers = [ stdenv.lib.maintainers.exfalso ]; 19 + }; 20 + 21 + buildInputs = [ python3 ]; 22 + 23 + installPhase = '' 24 + install -vD subdl $out/bin/subdl 25 + ''; 26 + }
+2
pkgs/top-level/all-packages.nix
··· 11144 11145 strigi = callPackage ../development/libraries/strigi { clucene_core = clucene_core_2; }; 11146 11147 subtitleeditor = callPackage ../applications/video/subtitleeditor { }; 11148 11149 suil-qt4 = callPackage ../development/libraries/audio/suil {
··· 11144 11145 strigi = callPackage ../development/libraries/strigi { clucene_core = clucene_core_2; }; 11146 11147 + subdl = callPackage ../applications/video/subdl { }; 11148 + 11149 subtitleeditor = callPackage ../applications/video/subtitleeditor { }; 11150 11151 suil-qt4 = callPackage ../development/libraries/audio/suil {