Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 699 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, tvdb_api 6}: 7 8buildPythonPackage rec { 9 pname = "tvnamer"; 10 version = "3.0.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "a5ff916e104b2c0b567c2c7f2d8ae15a66a7ac57d67390e7c67207a33b79022f"; 15 }; 16 17 checkInputs = [ pytest ]; 18 propagatedBuildInputs = [ tvdb_api ]; 19 20 # a ton of tests fail with: IOError: tvnamer/main.py could not be found in . or .. 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api."; 25 homepage = "https://github.com/dbr/tvnamer"; 26 license = licenses.unlicense; 27 maintainers = with maintainers; [ peterhoeg ]; 28 }; 29 30}