2017-05-01 09:00:03 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestrunner
|
|
|
|
, dateutil
|
|
|
|
, babelfish
|
|
|
|
, rebulk
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "guessit";
|
2020-05-09 04:03:56 +01:00
|
|
|
version = "3.1.1";
|
2017-05-01 09:00:03 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 04:03:56 +01:00
|
|
|
sha256 = "1c530pb0h34z0ziym256qps21b8mh533ia1lcnx9wqwx9rnqriki";
|
2017-05-01 09:00:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require more packages.
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dateutil babelfish rebulk
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/guessit";
|
2017-05-01 09:00:03 +01:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
description = "A library for guessing information from video files";
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|