Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
874 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, wheel,}:
buildPythonPackage rec { pname = "aioqsw"; version = "0.4.1"; format = "pyproject";
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "Noltari"; repo = "aioqsw"; tag = version; hash = "sha256-h/rTwMF3lc/hWwpzCvK6UMq0rjq3xkw/tEY3BqOPS2s="; };
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 ]; };}