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

32 lines
651 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";
2018-06-12 16:47:01 +00:00
version = "3.0.0";
2017-05-01 08:00:03 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-06-12 16:47:01 +00:00
sha256 = "bf17e78783cf13bf903750770de4c3bb6c9ca89baafedb1612794660b6ebe32b";
2017-05-01 08:00:03 +00:00
};
# Tests require more packages.
doCheck = false;
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [
dateutil babelfish rebulk
];
meta = {
homepage = https://pypi.python.org/pypi/guessit;
2017-05-01 08:00:03 +00:00
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};
}