python.pkgs.subliminal: improve expression
This commit is contained in:
parent
acad55399a
commit
fa1ada0612
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv
|
{ lib
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonApplication
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
, guessit
|
, guessit
|
||||||
, babelfish
|
, babelfish
|
||||||
, enzyme
|
, enzyme
|
||||||
|
@ -16,9 +17,16 @@
|
||||||
, rarfile
|
, rarfile
|
||||||
, pytz
|
, pytz
|
||||||
, futures
|
, futures
|
||||||
|
, sympy
|
||||||
|
, vcrpy
|
||||||
|
, pytest
|
||||||
|
, pytestpep8
|
||||||
|
, pytest-flakes
|
||||||
|
, pytestcov
|
||||||
|
, pytestrunner
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonPackage rec {
|
||||||
pname = "subliminal";
|
pname = "subliminal";
|
||||||
version = "2.0.5";
|
version = "2.0.5";
|
||||||
|
|
||||||
|
@ -27,13 +35,21 @@ buildPythonApplication rec {
|
||||||
sha256 = "1dzv5csjcwgz69aimarx2c6606ckm2gbn4x2mzydcqnyai7sayhl";
|
sha256 = "1dzv5csjcwgz69aimarx2c6606ckm2gbn4x2mzydcqnyai7sayhl";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Too many test dependencies
|
propagatedBuildInputs = [
|
||||||
doCheck = false;
|
guessit babelfish enzyme beautifulsoup4 requests
|
||||||
propagatedBuildInputs = [ guessit babelfish enzyme beautifulsoup4 requests
|
|
||||||
click dogpile_cache stevedore chardet pysrt six
|
click dogpile_cache stevedore chardet pysrt six
|
||||||
appdirs rarfile pytz futures ];
|
appdirs rarfile pytz
|
||||||
|
] ++ lib.optional (!isPy3k) futures;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
checkInputs = [
|
||||||
|
sympy vcrpy pytest pytestpep8 pytest-flakes
|
||||||
|
pytestcov pytestrunner
|
||||||
|
];
|
||||||
|
|
||||||
|
# https://github.com/Diaoul/subliminal/pull/963
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
homepage = https://github.com/Diaoul/subliminal;
|
homepage = https://github.com/Diaoul/subliminal;
|
||||||
description = "Python library to search and download subtitles";
|
description = "Python library to search and download subtitles";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in New Issue