depot/third_party/nixpkgs/pkgs/development/python-modules/guessit/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

31 lines
638 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest-runner
, python-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 = [ pytest-runner ];
propagatedBuildInputs = [
python-dateutil babelfish rebulk
];
meta = {
homepage = "https://pypi.python.org/pypi/guessit";
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};
}