nixpkgs/pkgs/development/python-modules/subliminal/default.nix
Drew Risinger 6bb2eae2ff treewide: remove dead pytestpep8 references
pytestpep8 was removed in 25c9946f95.
This removes pytestpep8 in the rest of the tree, where it was hardly
used.
2020-12-10 21:14:42 -05:00

57 lines
1005 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, guessit
, babelfish
, enzyme
, beautifulsoup4
, requests
, click
, dogpile_cache
, stevedore
, chardet
, pysrt
, six
, appdirs
, rarfile
, pytz
, futures
, sympy
, vcrpy
, pytest
, pytest-flakes
, pytestcov
, pytestrunner
}:
buildPythonPackage rec {
pname = "subliminal";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "12v2clnbic8320fjsvkg3xfxfa7x8inhjk61z00pzwx46g3rqhy6";
};
propagatedBuildInputs = [
guessit babelfish enzyme beautifulsoup4 requests
click dogpile_cache stevedore chardet pysrt six
appdirs rarfile pytz
] ++ lib.optional (!isPy3k) futures;
checkInputs = [
sympy vcrpy pytest pytest-flakes
pytestcov pytestrunner
];
# https://github.com/Diaoul/subliminal/pull/963
doCheck = false;
meta = with lib; {
homepage = "https://github.com/Diaoul/subliminal";
description = "Python library to search and download subtitles";
license = licenses.mit;
};
}