python311Packages.ukrainealarm: remove

Was once a dependency of home-assistant's ukraine_alarm, until it was
replaced by uasiren.
This commit is contained in:
Martin Weinelt 2024-01-05 01:39:32 +01:00
parent 70a5e9c22e
commit 4704eabb5e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 1 additions and 60 deletions

View File

@ -1,58 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build time
, setuptools-scm
# propagates
, aiohttp
# tests
, pytestCheckHook
}:
let
pname = "ukrainealarm";
version = "0.0.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
src = fetchFromGitHub {
owner = "PaulAnnekov";
repo = pname;
rev = "v${version}";
hash = "sha256-0gsxXQiSkJIM/I0VYsjdCCB3NjPr6QJbD/rBkGrwtW8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
aiohttp
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ukrainealarm"
"ukrainealarm.client"
];
meta = with lib; {
changelog = "https://github.com/PaulAnnekov/ukrainealarm/releases/tag/v${version}";
description = "Implements api.ukrainealarm.com API that returns info about Ukraine air raid alarms";
homepage = "https://github.com/PaulAnnekov/ukrainealarm";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -459,6 +459,7 @@ mapAliases ({
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
ukrainealarm = throw "ukrainealarm has been removed, as it has been replaced as a home-assistant dependency by uasiren."; # added 2024-01-05
unittest2 = throw "unittest2 has been removed as it's a backport of unittest that's unmaintained and not needed beyond Python 3.4."; # added 2022-12-01
uproot3 = throw "uproot3 has been removed, use uproot instead"; # added 2022-12-13
uproot3-methods = throw "uproot3-methods has been removed"; # added 2022-12-13

View File

@ -15521,8 +15521,6 @@ self: super: with self; {
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
ukrainealarm = callPackage ../development/python-modules/ukrainealarm { };
ulid-transform = callPackage ../development/python-modules/ulid-transform { };
ultraheat-api = callPackage ../development/python-modules/ultraheat-api { };