Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 636 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, requests-cache 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "tvdb_api"; 10 version = "2.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "b1de28a5100121d91b1f6a8ec7e86f2c4bdf48fb22fab3c6fe21e7fb7346bf8f"; 15 }; 16 17 propagatedBuildInputs = [ requests-cache ]; 18 19 checkInputs = [ pytest ]; 20 21 # requires network access 22 doCheck = false; 23 24 meta = with stdenv.lib; { 25 description = "Simple to use TVDB (thetvdb.com) API in Python"; 26 homepage = "https://github.com/dbr/tvdb_api"; 27 license = licenses.unlicense; 28 maintainers = with maintainers; [ peterhoeg ]; 29 }; 30 31}