1{ stdenv 2, fetchPypi 3, buildPythonApplication 4, guessit 5, babelfish 6, enzyme 7, beautifulsoup4 8, requests 9, click 10, dogpile_cache 11, stevedore 12, chardet 13, pysrt 14, six 15, appdirs 16, rarfile 17, pytz 18, futures 19}: 20 21buildPythonApplication rec { 22 pname = "subliminal"; 23 version = "2.0.5"; 24 25 src = fetchPypi { 26 inherit pname version; 27 sha256 = "1dzv5csjcwgz69aimarx2c6606ckm2gbn4x2mzydcqnyai7sayhl"; 28 }; 29 30 # Too many test dependencies 31 doCheck = false; 32 propagatedBuildInputs = [ guessit babelfish enzyme beautifulsoup4 requests 33 click dogpile_cache stevedore chardet pysrt six 34 appdirs rarfile pytz futures ]; 35 36 meta = with stdenv.lib; { 37 homepage = https://github.com/Diaoul/subliminal; 38 description = "Python library to search and download subtitles"; 39 license = licenses.mit; 40 }; 41}