Merge pull request #123151 from fabaff/prayer-times-calculator

This commit is contained in:
Martin Weinelt 2021-05-17 17:36:25 +02:00 committed by GitHub
commit c5f1d219a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "prayer-times-calculator";
version = "0.0.4";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "uchagani";
repo = pname;
rev = version;
sha256 = "053wa0zzfflaxlllh6sxgnrqqx8qyv4jcj85fsiv6n608kw202d5";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "prayer_times_calculator" ];
meta = with lib; {
description = "Python client for the Prayer Times API";
homepage = "https://github.com/uchagani/prayer-times-calculator";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -407,7 +407,7 @@
"ipp" = ps: with ps; [ pyipp ];
"iqvia" = ps: with ps; [ numpy pyiqvia ];
"irish_rail_transport" = ps: with ps; [ ]; # missing inputs: pyirishrail
"islamic_prayer_times" = ps: with ps; [ ]; # missing inputs: prayer_times_calculator
"islamic_prayer_times" = ps: with ps; [ prayer-times-calculator ];
"iss" = ps: with ps; [ ]; # missing inputs: pyiss
"isy994" = ps: with ps; [ ]; # missing inputs: pyisy
"itach" = ps: with ps; [ ]; # missing inputs: pyitachip2ir

View File

@ -286,6 +286,7 @@ in with py.pkgs; buildPythonApplication rec {
"intent"
"intent_script"
"ipp"
"islamic_prayer_times"
"jewish_calendar"
"kmtronic"
"knx"

View File

@ -5191,6 +5191,8 @@ in {
praw = callPackage ../development/python-modules/praw { };
prayer-times-calculator = callPackage ../development/python-modules/prayer-times-calculator { };
precis-i18n = callPackage ../development/python-modules/precis-i18n { };
pre-commit = callPackage ../development/python-modules/pre-commit { };