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