nixpkgs/pkgs/development/python-modules/guessit/default.nix
2018-06-22 13:09:16 +02:00

32 lines
651 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, dateutil
, babelfish
, rebulk
}:
buildPythonPackage rec {
pname = "guessit";
version = "3.0.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "bf17e78783cf13bf903750770de4c3bb6c9ca89baafedb1612794660b6ebe32b";
};
# Tests require more packages.
doCheck = false;
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [
dateutil babelfish rebulk
];
meta = {
homepage = https://pypi.python.org/pypi/guessit;
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};
}