mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
pythonPackages.guessit: 2.0.4 -> 2.1.2
This commit is contained in:
parent
312631a37e
commit
c61e9b24c4
32
pkgs/development/python-modules/guessit/default.nix
Normal file
32
pkgs/development/python-modules/guessit/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestrunner
|
||||
, dateutil
|
||||
, babelfish
|
||||
, rebulk
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "guessit";
|
||||
version = "2.1.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9f7e12b7f2215548284631a20aae6fc009c8af2bb8cc5d5e5e339cb15361dd95";
|
||||
};
|
||||
|
||||
# Tests require more packages.
|
||||
doCheck = false;
|
||||
buildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [
|
||||
dateutil babelfish rebulk
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://pypi.python.org/pypi/guessit;
|
||||
license = lib.licenses.lgpl3;
|
||||
description = "A library for guessing information from video files";
|
||||
};
|
||||
}
|
@ -12615,29 +12615,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
guessit = buildPythonPackage rec {
|
||||
version = "2.0.4";
|
||||
name = "guessit-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/guessit/${name}.tar.gz";
|
||||
sha256 = "4f72e21fca9c294651abee26554e2ad778220d90a84f6e1195299a7ec17accb1";
|
||||
};
|
||||
|
||||
# Tests require more packages.
|
||||
doCheck = false;
|
||||
buildInputs = with self; [ pytestrunner ];
|
||||
propagatedBuildInputs = with self; [
|
||||
dateutil babelfish rebulk
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://pypi.python.org/pypi/guessit;
|
||||
license = licenses.lgpl3;
|
||||
description = "A library for guessing information from video files";
|
||||
};
|
||||
};
|
||||
guessit = callPackage ../development/python-modules/guessit { };
|
||||
|
||||
rebulk = buildPythonPackage rec {
|
||||
version = "0.8.2";
|
||||
|
Loading…
Reference in New Issue
Block a user