at master 732 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests-cache, 6 pytest, 7}: 8 9buildPythonPackage { 10 pname = "tvdb-api"; 11 version = "3.2.0-beta"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "dbr"; 16 repo = "tvdb_api"; 17 rev = "ce0382181a9e08a5113bfee0fed2c78f8b1e613f"; 18 hash = "sha256-poUuwySr6+8U9PIHhqFaR7nXzh8kSaW7mZkuKTUJKj8="; 19 }; 20 21 propagatedBuildInputs = [ requests-cache ]; 22 23 nativeCheckInputs = [ pytest ]; 24 25 # requires network access 26 doCheck = false; 27 28 meta = with lib; { 29 description = "Simple to use TVDB (thetvdb.com) API in Python"; 30 homepage = "https://github.com/dbr/tvdb_api"; 31 license = licenses.unlicense; 32 maintainers = with maintainers; [ peterhoeg ]; 33 }; 34}