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

32 lines
622 B
Nix
Raw Normal View History

2017-05-01 09:00:03 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, dateutil
, babelfish
, rebulk
}:
buildPythonPackage rec {
pname = "guessit";
2019-10-24 07:47:34 +01:00
version = "3.1.0";
2017-05-01 09:00:03 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:34 +01:00
sha256 = "2dcd3f2acaf6c1a864f903f084ddd6a6b753f3107ae864355d7c8c1e9cb205b2";
2017-05-01 09:00:03 +01:00
};
# Tests require more packages.
doCheck = false;
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [
dateutil babelfish rebulk
];
meta = {
homepage = "https://pypi.python.org/pypi/guessit";
2017-05-01 09:00:03 +01:00
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};
}