8 buildPythonPackage rec {
11 format = "setuptools";
13 src = fetchFromGitHub {
17 sha256 = "1lg7n1frndfgw73s0ssl1h7kc6zxm7fpiwlc6v6d60kxzaj1dphx";
20 propagatedBuildInputs = [ requests ];
22 pythonImportsCheck = [ "pynut2.nut2" ];
24 # tests are unmaintained and broken
28 description = "API overhaul of PyNUT, a Python library to allow communication with NUT (Network UPS Tools) servers";
29 homepage = "https://github.com/mezz64/python-nut2";
30 license = with licenses; [ gpl3Plus ];
31 maintainers = [ maintainers.luker ];