9405df4a82
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
31 lines
622 B
Nix
31 lines
622 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestrunner
|
|
, dateutil
|
|
, babelfish
|
|
, rebulk
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "guessit";
|
|
version = "3.3.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8305e0086129614a8820a508303f98f56c584811489499bcc54a7ea6f1b0391e";
|
|
};
|
|
|
|
# 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";
|
|
};
|
|
}
|