python3Packages.py-synologydsm-api: 1.0.2 -> 1.0.4

conduit-nginx
Martin Weinelt 2021-10-22 01:13:35 +02:00
parent 538e0e0aab
commit 32060ee592
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 3 additions and 9 deletions

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "py-synologydsm-api";
version = "1.0.2";
version = "1.0.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "hacf-fr";
owner = "mib1185";
repo = "synologydsm-api";
rev = "v${version}";
sha256 = "sha256-UQdPwvRdv7SCOTxkA1bfskQ9oL/DB0j1TdJE04ODyj8=";
sha256 = "1f9fbcp6dbh1c7q1cpppwggnw4m89w14cjdgl64f1bzv72rggpn1";
};
nativeBuildInputs = [ poetry-core ];
@ -24,12 +24,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "synology_dsm" ];
checkInputs = [ pytestCheckHook ];
postPatch = ''
# was fixed upstream but not released, remove after upgrade to version > 1.0.2
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
meta = with lib; {
description = "Python API for Synology DSM";
homepage = "https://github.com/hacf-fr/synologydsm-api";