python312Packages.prayer-times-calculator-offline: init at 1.0.3

This commit is contained in:
Robert Schütz 2024-08-11 10:39:57 -07:00
parent 46385c7b6c
commit 5822a52f87
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{
buildPythonPackage,
fetchPypi,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "prayer-times-calculator-offline";
version = "1.0.3";
pyproject = true;
src = fetchPypi {
pname = "prayer_times_calculator_offline";
inherit version;
hash = "sha256-vmy1hYZXuDvdjjBN5YivzP+lcwfE86Z9toBzj+kyj14=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "prayer_times_calculator_offline" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Prayer Times Calculator - Offline";
homepage = "https://github.com/cpfair/prayer-times-calculator-offline";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -10720,6 +10720,8 @@ self: super: with self; {
prayer-times-calculator = callPackage ../development/python-modules/prayer-times-calculator { };
prayer-times-calculator-offline = callPackage ../development/python-modules/prayer-times-calculator-offline { };
precis-i18n = callPackage ../development/python-modules/precis-i18n { };
prefixed = callPackage ../development/python-modules/prefixed { };