10 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
18 repo = "python-qnapstats";
19 rev = "refs/tags/${version}";
20 hash = "sha256-dpxl6a61h8zB7eS/2lxG+2//bOTzV6s4T1W+DVj0fnI=";
23 propagatedBuildInputs = [
35 ${python.interpreter} tests/test-models.py
40 pythonImportsCheck = [ "qnapstats" ];
43 description = "Python API for obtaining QNAP NAS system stats";
44 homepage = "https://github.com/colinodell/python-qnapstats";
45 license = lib.licenses.mit;
46 maintainers = with lib.maintainers; [ dotlambda ];