1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "prayer-times-calculator"; 10 version = "0.0.7"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "uchagani"; 15 repo = pname; 16 rev = "refs/tags/${version}"; 17 sha256 = "sha256-fIfv10oi5Lv1dj5Y5CYI94/UdWG3bAY/ENCiMTkO0RE="; 18 }; 19 20 propagatedBuildInputs = [ 21 requests 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "prayer_times_calculator" ]; 28 29 meta = with lib; { 30 description = "Python client for the Prayer Times API"; 31 homepage = "https://github.com/uchagani/prayer-times-calculator"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}