1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/subliminal/default.nix

42 lines
852 B
Nix
Raw Normal View History

2017-05-18 11:46:04 +01:00
{ stdenv
, fetchPypi
2017-05-18 11:46:04 +01:00
, buildPythonApplication
, guessit
, babelfish
, enzyme
, beautifulsoup4
, requests
, click
, dogpile_cache
, stevedore
, chardet
, pysrt
, six
, appdirs
, rarfile
, pytz
, futures
}:
buildPythonApplication rec {
pname = "subliminal";
2017-05-18 11:46:04 +01:00
version = "2.0.5";
src = fetchPypi {
inherit pname version;
2017-05-18 11:46:04 +01:00
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;
};
}