biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / aioqsw / default.nix
blob10fb274215f4913287296b8d59bc466abb415984
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   setuptools,
8   wheel,
9 }:
11 buildPythonPackage rec {
12   pname = "aioqsw";
13   version = "0.4.1";
14   format = "pyproject";
16   disabled = pythonOlder "3.11";
18   src = fetchFromGitHub {
19     owner = "Noltari";
20     repo = pname;
21     rev = "refs/tags/${version}";
22     hash = "sha256-h/rTwMF3lc/hWwpzCvK6UMq0rjq3xkw/tEY3BqOPS2s=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     wheel
28   ];
30   propagatedBuildInputs = [ aiohttp ];
32   # Module has no tests
33   doCheck = false;
35   pythonImportsCheck = [ "aioqsw" ];
37   meta = with lib; {
38     description = "Library to fetch data from QNAP QSW switches";
39     homepage = "https://github.com/Noltari/aioqsw";
40     changelog = "https://github.com/Noltari/aioqsw/releases/tag/${version}";
41     license = with licenses; [ asl20 ];
42     maintainers = with maintainers; [ fab ];
43   };