2017-05-01 08:00:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestrunner
|
|
|
|
, dateutil
|
|
|
|
, babelfish
|
|
|
|
, rebulk
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "guessit";
|
2019-06-17 18:39:16 +00:00
|
|
|
version = "3.0.4";
|
2017-05-01 08:00:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-17 18:39:16 +00:00
|
|
|
sha256 = "1h9f4car26mkck360dxaf9ccdff3inbvpqyz4la2w3zjsz03x01p";
|
2017-05-01 08:00:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require more packages.
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dateutil babelfish rebulk
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://pypi.python.org/pypi/guessit;
|
2017-05-01 08:00:03 +00:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
description = "A library for guessing information from video files";
|
|
|
|
};
|
|
|
|
}
|