2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestrunner
|
|
|
|
, dateutil
|
|
|
|
, babelfish
|
|
|
|
, rebulk
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "guessit";
|
|
|
|
version = "2.0.4";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1cfcgb0px6i9jl8nwkx8j06j4y6p5975a9pfmd8lcacwr8gy4wjg";
|
|
|
|
};
|
|
|
|
|
|
|
|
# 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-09-05 10:16:41 +01:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
description = "A library for guessing information from video files";
|
|
|
|
};
|
|
|
|
}
|