tvnamer: init at 2.3 (#15586)

authored by

Peter Hoeg and committed by
Franz Pletz
63f81a29 aacb1579

+42
+42
pkgs/top-level/python-packages.nix
··· 27433 27433 }; 27434 27434 }; 27435 27435 27436 + tvdb_api = buildPythonPackage rec { 27437 + name = "tvdb_api-${version}"; 27438 + version = "1.10"; 27439 + 27440 + src = pkgs.fetchurl { 27441 + url = "mirror://pypi/t/tvdb_api/${name}.tar.gz"; 27442 + sha256 = "0hq887yb3rwc0rcw32lh7xdkk9bbrqy274aspzqkd6f7dyhp73ih"; 27443 + }; 27444 + 27445 + disabled = isPy3k; 27446 + 27447 + meta = { 27448 + description = "Simple to use TVDB (thetvdb.com) API in Python."; 27449 + homepage = "https://github.com/dbr/tvdb_api"; 27450 + license = licenses.unlicense; 27451 + maintainers = with maintainers; [ peterhoeg ]; 27452 + }; 27453 + }; 27454 + 27455 + tvnamer = buildPythonPackage rec { 27456 + name = "tvnamer-${version}"; 27457 + version = "2.3"; 27458 + 27459 + src = pkgs.fetchurl { 27460 + url = "mirror://pypi/t/tvnamer/${name}.tar.gz"; 27461 + sha256 = "15i6qvhwhcx08c96xx3s2841yc7k8gxrqqvhw908c11g0045c2r3"; 27462 + }; 27463 + 27464 + propagatedBuildInputs = with self; [ 27465 + tvdb_api 27466 + ]; 27467 + 27468 + # tvdb_api isn't working with Python 3 27469 + disabled = isPy3k; 27470 + 27471 + meta = { 27472 + description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api."; 27473 + homepage = "https://github.com/dbr/tvnamer"; 27474 + license = licenses.unlicense; 27475 + maintainers = with maintainers; [ peterhoeg ]; 27476 + }; 27477 + }; 27436 27478 }