98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
35 lines
833 B
Nix
35 lines
833 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|