tvnamer: 2.3 -> 2.4

Also add support for python3
This commit is contained in:
Peter Hoeg 2017-03-13 17:49:04 +08:00
parent c1b1da21ea
commit 5fa3b11239

View File

@ -31292,19 +31292,18 @@ EOF
tvnamer = buildPythonPackage rec { tvnamer = buildPythonPackage rec {
name = "tvnamer-${version}"; name = "tvnamer-${version}";
version = "2.3"; version = "2.4";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "mirror://pypi/t/tvnamer/${name}.tar.gz"; url = "mirror://pypi/t/tvnamer/${name}.tar.gz";
sha256 = "15i6qvhwhcx08c96xx3s2841yc7k8gxrqqvhw908c11g0045c2r3"; sha256 = "10iizmwna2xpyc2694hsrvny68y3bdq576p8kxsvg5gj2spnsxav";
}; };
propagatedBuildInputs = with self; [ buildInputs = with self; [ pytest ];
tvdb_api propagatedBuildInputs = with self; [ tvdb_api ];
];
# tvdb_api isn't working with Python 3 # a ton of tests fail with: IOError: tvnamer/main.py could not be found in . or ..
disabled = isPy3k; doCheck = false;
meta = { meta = {
description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api."; description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api.";