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

32 lines
650 B
Nix
Raw Normal View History

2017-05-01 10:00:03 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, dateutil
, babelfish
, rebulk
}:
buildPythonPackage rec {
pname = "guessit";
2017-06-01 18:11:00 +02:00
version = "2.1.3";
2017-05-01 10:00:03 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-06-01 18:11:00 +02:00
sha256 = "b2eebbb61e4d2b3764ce4462e0b27da0dccbb25b78e13493a2f913a402e1d0fb";
2017-05-01 10:00:03 +02: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";
};
}