blob: 57efaa937ff74b56f42dd62c98f3d3d1a68b4867 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "nextcloudmonitor";
version = "1.5.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "meichthys";
repo = "nextcloud_monitor";
rev = "refs/tags/v${version}";
hash = "sha256-HQLaHuvXWtHkG1dzD7ldvYKepTB4qQqzpKLYMR+lor4=";
};
propagatedBuildInputs = [ requests ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "nextcloudmonitor" ];
meta = with lib; {
changelog = "https://github.com/meichthys/nextcloud_monitor/blob/${src.rev}/README.md#change-log";
description = "Python wrapper around nextcloud monitor api";
homepage = "https://github.com/meichthys/nextcloud_monitor";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|