python313Packages.aioqsw: modernize
This commit is contained in:
@@ -3,17 +3,13 @@
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioqsw";
|
||||
version = "0.4.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Noltari";
|
||||
@@ -22,12 +18,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-SIdEM5YxPnCM6wEJTL19t07Xb89wDAwHzKnz0dKC0tw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
@@ -37,8 +30,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
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 lib.licenses; [ asl20 ];
|
||||
changelog = "https://github.com/Noltari/aioqsw/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user