11 buildPythonPackage rec {
15 format = "setuptools";
17 src = fetchFromGitHub {
19 repo = "python-qnapstats";
20 rev = "refs/tags/${version}";
21 hash = "sha256-dpxl6a61h8zB7eS/2lxG+2//bOTzV6s4T1W+DVj0fnI=";
24 propagatedBuildInputs = [
29 nativeCheckInputs = [ responses ];
34 ${python.interpreter} tests/test-models.py
39 pythonImportsCheck = [ "qnapstats" ];
42 description = "Python API for obtaining QNAP NAS system stats";
43 homepage = "https://github.com/colinodell/python-qnapstats";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ dotlambda ];