Skip to content

Commit

Permalink
python313Packages.nextcloudmonitor: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Feb 5, 2025
1 parent efec102 commit 3068216
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pkgs/development/python-modules/nextcloudmonitor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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;
Expand Down

0 comments on commit 3068216

Please sign in to comment.