python313Packages.nextcloudmonitor: fix build
This commit is contained in:
@@ -2,14 +2,15 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
setuptools,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nextcloudmonitor";
|
||||
version = "1.5.2";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "meichthys";
|
||||
@@ -18,7 +19,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-9iohznUmDusNY7iJZBcv9yn2wp3X5cS8n3Fbj/G1u0g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# https://github.com/meichthys/nextcloud_monitor/pull/10
|
||||
url = "https://github.com/meichthys/nextcloud_monitor/commit/cf6191d148e0494de5ae3cbe8fc5ffdba71b6c21.patch";
|
||||
hash = "sha256-BSTX5dw+k+ItT6qvpjLiDsH9rW1NmkaBeGO9TlNZZis=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
# no tests implemented
|
||||
doCheck = false;
|
||||
|
||||
Reference in New Issue
Block a user