1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest-runner
5, python-dateutil
6, babelfish
7, rebulk
8}:
9
10buildPythonPackage rec {
11 pname = "guessit";
12 version = "3.3.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "8305e0086129614a8820a508303f98f56c584811489499bcc54a7ea6f1b0391e";
17 };
18
19 # Tests require more packages.
20 doCheck = false;
21 buildInputs = [ pytest-runner ];
22 propagatedBuildInputs = [
23 python-dateutil babelfish rebulk
24 ];
25
26 meta = {
27 homepage = "https://pypi.python.org/pypi/guessit";
28 license = lib.licenses.lgpl3;
29 description = "A library for guessing information from video files";
30 };
31}