python312Packages.prayer-times-calculator: drop

Home Assistant switched to prayer-times-calculator-offline.
This commit is contained in:
Robert Schütz 2024-08-11 10:45:21 -07:00
parent eb55c762c1
commit 535fa63f85
3 changed files with 1 additions and 42 deletions

View File

@ -1,40 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "prayer-times-calculator";
version = "0.0.12";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "uchagani";
repo = "prayer-times-calculator";
rev = "refs/tags/${version}";
hash = "sha256-HeGUnApQZ12aieaV/UBbJqqpEn4i/ZZKw41H/Yx3+cY=";
};
nativeBuildInputs = [ setuptools ];
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";
changelog = "https://github.com/uchagani/prayer-times-calculator/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -371,6 +371,7 @@ mapAliases ({
poster3 = throw "poster3 is unmaintained and source is no longer available"; # added 2023-05-29
postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
prayer-times-calculator = prayer-times-calculator-offline; # added 2024-08-11
privacyidea-ldap-proxy = throw "privacyidea-ldap-proxy has been removed from nixpkgs"; # added 2023-10-31
proboscis = throw "proboscis has been removed since it has not been maintained for 11 years"; # added 2024-05-20
prometheus_client = prometheus-client; # added 2021-06-10

View File

@ -10718,8 +10718,6 @@ self: super: with self; {
praw = callPackage ../development/python-modules/praw { };
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 { };