nixpkgs/pkgs/development/python-modules/guessit/default.nix

32 lines
650 B
Nix
Raw Normal View History

2017-05-01 08:00:03 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, dateutil
, babelfish
, rebulk
}:
buildPythonPackage rec {
pname = "guessit";
2017-06-06 09:32:32 +00:00
version = "2.1.4";
2017-05-01 08:00:03 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-06-06 09:32:32 +00:00
sha256 = "90e6f9fb49246ad27f34f8b9984357e22562ccc3059241cbc08b4fac1d401c56";
2017-05-01 08:00:03 +00:00
};
# Tests require more packages.
doCheck = false;
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [
dateutil babelfish rebulk
];
meta = {
homepage = http://pypi.python.org/pypi/guessit;
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};
}