python3Packages.subliminal: readd again

(cherry picked from commit c78fe7aa78e7f562f6bd4a3f213236640f97448c)
This commit is contained in:
lassulus 2021-06-05 12:30:41 +02:00 committed by github-actions[bot]
parent 5de44c1575
commit f604d15d15
2 changed files with 4 additions and 3 deletions
pkgs
development/python-modules/subliminal
top-level

View File

@ -1,7 +1,6 @@
{ lib { lib
, fetchPypi , fetchPypi
, buildPythonPackage , buildPythonPackage
, isPy3k
, guessit , guessit
, babelfish , babelfish
, enzyme , enzyme
@ -16,7 +15,6 @@
, appdirs , appdirs
, rarfile , rarfile
, pytz , pytz
, futures
, sympy , sympy
, vcrpy , vcrpy
, pytest , pytest
@ -38,7 +36,7 @@ buildPythonPackage rec {
guessit babelfish enzyme beautifulsoup4 requests guessit babelfish enzyme beautifulsoup4 requests
click dogpile_cache stevedore chardet pysrt six click dogpile_cache stevedore chardet pysrt six
appdirs rarfile pytz appdirs rarfile pytz
] ++ lib.optional (!isPy3k) futures; ];
checkInputs = [ checkInputs = [
sympy vcrpy pytest pytest-flakes sympy vcrpy pytest pytest-flakes
@ -47,6 +45,7 @@ buildPythonPackage rec {
# https://github.com/Diaoul/subliminal/pull/963 # https://github.com/Diaoul/subliminal/pull/963
doCheck = false; doCheck = false;
pythonImportsCheck = [ "subliminal" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/Diaoul/subliminal"; homepage = "https://github.com/Diaoul/subliminal";

View File

@ -8006,6 +8006,8 @@ in {
subdownloader = callPackage ../development/python-modules/subdownloader { }; subdownloader = callPackage ../development/python-modules/subdownloader { };
subliminal = callPackage ../development/python-modules/subliminal { };
subunit = callPackage ../development/python-modules/subunit { subunit = callPackage ../development/python-modules/subunit {
inherit (pkgs) subunit cppunit check; inherit (pkgs) subunit cppunit check;
}; };