1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, python-magic 5, pythonOlder 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "pycketcasts"; 11 version = "1.0.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "nwithan8"; 18 repo = pname; 19 rev = version; 20 hash = "sha256-O4j89fE7fYPthhCH8b2gGskkelEA4mU6GvSbKIl+4Mk="; 21 }; 22 23 propagatedBuildInputs = [ 24 python-magic 25 requests 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pycketcasts" 33 ]; 34 35 meta = with lib; { 36 description = "Module to interact with PocketCast's unofficial API"; 37 homepage = "https://github.com/nwithan8/pycketcasts"; 38 license = licenses.gpl3Only; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}