nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 729 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.5"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "uchagani"; 15 repo = pname; 16 rev = version; 17 sha256 = "sha256-wm1r0MK6dx0cJvyQ7ulxvGWyIrNiPV2RXJD/IuKP3+E="; 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}