python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / uasiren / default.nix
bloba30bc00e8ba303bed74f98fc12e02c58d59e4eba
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build time
7   setuptools-scm,
9   # propagates
10   aiohttp,
12   # tests
13   pytestCheckHook,
16 let
17   pname = "uasiren";
18   version = "0.0.1";
21 buildPythonPackage {
22   inherit pname version;
23   format = "setuptools";
25   src = fetchFromGitHub {
26     owner = "PaulAnnekov";
27     repo = pname;
28     rev = "v${version}";
29     hash = "sha256-NHrnG5Vhz+JZgcTJyfIgGz0Ye+3dFVv2zLCCqw2++oM=";
30   };
32   nativeBuildInputs = [ setuptools-scm ];
34   propagatedBuildInputs = [ aiohttp ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   pythonImportsCheck = [
39     "uasiren"
40     "uasiren.client"
41   ];
43   meta = with lib; {
44     changelog = "https://github.com/PaulAnnekov/uasiren/releases/tag/v${version}";
45     description = "Implements siren.pp.ua API - public wrapper for api.ukrainealarm.com API that returns info about Ukraine air-raid alarms";
46     homepage = "https://github.com/PaulAnnekov/uasiren";
47     license = licenses.mit;
48     maintainers = with maintainers; [ hexa ];
49   };