Merge pull request #146740 from fabaff/qnap-qsw

python3Packages.qnap-qsw: init at 0.3.0
This commit is contained in:
Fabian Affolter 2021-11-22 09:42:26 +01:00 committed by GitHub
commit f33403dc38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "qnap-qsw";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Noltari";
repo = "python-qnap-qsw";
rev = version;
sha256 = "WP1bGt7aAtSVFOMJgPXKqVSbi5zj9K7qoIVrYCrPGqk=";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"qnap_qsw"
];
meta = with lib; {
description = "Python library to interact with the QNAP QSW API";
homepage = "https://github.com/Noltari/python-qnap-qsw";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7983,6 +7983,8 @@ in {
qiskit-terra = callPackage ../development/python-modules/qiskit-terra { };
qnap-qsw = callPackage ../development/python-modules/qnap-qsw{ };
qrcode = callPackage ../development/python-modules/qrcode { };
qreactor = callPackage ../development/python-modules/qreactor { };