Unverified Commit 31628750 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.qnapstats: 0.5.0 -> 0.6.0 (#435369)

parents 253061b0 49881849
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  xmltodict,
  responses,
@@ -10,18 +11,19 @@

buildPythonPackage rec {
  pname = "qnapstats";
  version = "0.5.0";

  format = "setuptools";
  version = "0.6.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "colinodell";
    repo = "python-qnapstats";
    tag = version;
    hash = "sha256-dpxl6a61h8zB7eS/2lxG+2//bOTzV6s4T1W+DVj0fnI=";
    hash = "sha256-4zGCMwuPL9QFVLgyZ6/aV9YBQJBomPkX34C7ULEd4Fw=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    requests
    xmltodict
  ];
@@ -36,9 +38,13 @@ buildPythonPackage rec {
    runHook postCheck
  '';

  # https://github.com/colinodell/python-qnapstats/issues/104
  doCheck = false;

  pythonImportsCheck = [ "qnapstats" ];

  meta = {
    changelog = "https://github.com/colinodell/python-qnapstats/releases/tag/${src.tag}";
    description = "Python API for obtaining QNAP NAS system stats";
    homepage = "https://github.com/colinodell/python-qnapstats";
    license = lib.licenses.mit;