python3Packages.py-synologydsm-api: 1.0.4 -> 1.0.5
This commit is contained in:
parent
1f89685452
commit
a193eca4fb
1 changed files with 20 additions and 8 deletions
|
@ -1,28 +1,40 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, urllib3
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
|
, urllib3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "py-synologydsm-api";
|
pname = "py-synologydsm-api";
|
||||||
version = "1.0.4";
|
version = "1.0.5";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mib1185";
|
owner = "mib1185";
|
||||||
repo = "synologydsm-api";
|
repo = "synologydsm-api";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1f9fbcp6dbh1c7q1cpppwggnw4m89w14cjdgl64f1bzv72rggpn1";
|
sha256 = "sha256-mm5N2RKn2KP2dV7+dw0sNWlCDT5X/fRmH8POQqJIoZY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [
|
||||||
propagatedBuildInputs = [ urllib3 requests ];
|
poetry-core
|
||||||
pythonImportsCheck = [ "synology_dsm" ];
|
];
|
||||||
checkInputs = [ pytestCheckHook ];
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"synology_dsm"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python API for Synology DSM";
|
description = "Python API for Synology DSM";
|
||||||
|
|
Loading…
Reference in a new issue