blob: 697b0b98fe8a0d501e760569a5ac0a38141cee14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
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 ];
};
}
|