summary refs log tree commit diff
path: root/pkgs/development/python-modules/guessit/default.nix
blob: adb131868c7c659672255eee7bf0b5da25a9e036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, 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 = [ pytestrunner ];
  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";
  };
}