mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
1c52f7e6f1
Diff: https://github.com/Noltari/aioqsw/compare/refs/tags/0.3.4...0.3.5 Changelog: https://github.com/Noltari/aioqsw/releases/tag/0.3.5
49 lines
907 B
Nix
49 lines
907 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioqsw";
|
|
version = "0.3.5";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Noltari";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-kSwTHwVSMGyXA0SF74f9gyBN82XhdjdN6DWrQV0PiaU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aioqsw"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library to fetch data from QNAP QSW switches";
|
|
homepage = "https://github.com/Noltari/aioqsw";
|
|
changelog = "https://github.com/Noltari/aioqsw/releases/tag/${version}";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|