1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00

Merge pull request #25889 from unaizalakain/init-subliminal

subliminal: init at 2.0.5
This commit is contained in:
Jörg Thalheim 2017-05-21 14:44:50 +01:00 committed by GitHub
commit 7aa70e138d
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv
, fetchurl
, buildPythonApplication
, guessit
, babelfish
, enzyme
, beautifulsoup4
, requests
, click
, dogpile_cache
, stevedore
, chardet
, pysrt
, six
, appdirs
, rarfile
, pytz
, futures
}:
buildPythonApplication rec {
name = "subliminal-${version}";
version = "2.0.5";
src = fetchurl {
url = "mirror://pypi/s/subliminal/${name}.tar.gz";
sha256 = "1dzv5csjcwgz69aimarx2c6606ckm2gbn4x2mzydcqnyai7sayhl";
};
# Too many test dependencies
doCheck = false;
propagatedBuildInputs = [ guessit babelfish enzyme beautifulsoup4 requests
click dogpile_cache stevedore chardet pysrt six
appdirs rarfile pytz futures ];
meta = with stdenv.lib; {
homepage = https://github.com/Diaoul/subliminal;
description = "Python library to search and download subtitles";
license = licenses.mit;
};
}

View file

@ -9345,6 +9345,8 @@ in {
};
};
subliminal = callPackage ../development/python-modules/subliminal {};
hyp = buildPythonPackage rec {
name = "hyp-server-${version}";
version = "1.2.0";