Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 707 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, tvdb_api 6}: 7 8buildPythonPackage rec { 9 pname = "tvnamer"; 10 version = "2.5"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "75e38454757c77060ad3782bd071682d6d316de86f9aec1c2042d236f93aec7b"; 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 stdenv.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}