Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / prayer-times-calculator / default.nix
blob88699a077bbe720d286633ba5bf5371208d74d2f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , requests
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "prayer-times-calculator";
11   version = "0.0.12";
12   pyproject = true;
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "uchagani";
18     repo = "prayer-times-calculator";
19     rev = "refs/tags/${version}";
20     hash = "sha256-HeGUnApQZ12aieaV/UBbJqqpEn4i/ZZKw41H/Yx3+cY=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     requests
29   ];
31   # Project has no tests
32   doCheck = false;
34   pythonImportsCheck = [
35     "prayer_times_calculator"
36   ];
38   meta = with lib; {
39     description = "Python client for the Prayer Times API";
40     homepage = "https://github.com/uchagani/prayer-times-calculator";
41     changelog = "https://github.com/uchagani/prayer-times-calculator/releases/tag/${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };