python3Packages.nextcloudmonitor: init at 1.2.0

This commit is contained in:
Robert Schütz 2021-06-23 20:41:04 +02:00
parent 997977a64e
commit 75fc137151
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "nextcloudmonitor";
version = "1.2.0";
src = fetchFromGitHub {
owner = "meichthys";
repo = "nextcloud_monitor";
rev = "v${version}";
sha256 = "0b0c7gzx1d5kgbsfj1lbrqsirc5g5br6v8w2njaj1ys03kj669cx";
};
propagatedBuildInputs = [
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "nextcloudmonitor" ];
meta = with lib; {
description = "Python wrapper around nextcloud monitor api";
homepage = "https://github.com/meichthys/nextcloud_monitor";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -4708,6 +4708,8 @@ in {
nexia = callPackage ../development/python-modules/nexia { };
nextcloudmonitor = callPackage ../development/python-modules/nextcloudmonitor { };
nghttp2 = (toPythonModule (pkgs.nghttp2.override {
inherit (self) python cython setuptools;
inherit (pkgs) ncurses;