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

32 lines
638 B
Nix
Raw Normal View History

2017-05-01 08:00:03 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest-runner
, python-dateutil
2017-05-01 08:00:03 +00:00
, babelfish
, rebulk
}:
buildPythonPackage rec {
pname = "guessit";
version = "3.3.1";
2017-05-01 08:00:03 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "8305e0086129614a8820a508303f98f56c584811489499bcc54a7ea6f1b0391e";
2017-05-01 08:00:03 +00:00
};
# Tests require more packages.
doCheck = false;
buildInputs = [ pytest-runner ];
2017-05-01 08:00:03 +00:00
propagatedBuildInputs = [
python-dateutil babelfish rebulk
2017-05-01 08:00:03 +00:00
];
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";
};
}