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