python3Packages.prayer-times-calculator: init at 0.0.4
This commit is contained in:
parent
e906410c9a
commit
1729fe4d81
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -5189,6 +5189,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 { };
|
||||
|
|
Loading…
Reference in a new issue