Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 730 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "prayer-times-calculator"; 10 version = "0.0.4"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "uchagani"; 15 repo = pname; 16 rev = version; 17 sha256 = "053wa0zzfflaxlllh6sxgnrqqx8qyv4jcj85fsiv6n608kw202d5"; 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}