1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "nextcloudmonitor"; 9 version = "1.4.0"; 10 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "meichthys"; 15 repo = "nextcloud_monitor"; 16 rev = "v${version}"; 17 hash = "sha256-jyC8oOFr5yVtIJNxVCLNTyFpJTdjHu8t6Xs4il45ysI="; 18 }; 19 20 propagatedBuildInputs = [ 21 requests 22 ]; 23 24 # no tests implemented 25 doCheck = false; 26 27 pythonImportsCheck = [ "nextcloudmonitor" ]; 28 29 meta = with lib; { 30 changelog = "https://github.com/meichthys/nextcloud_monitor/blob/${src.rev}/README.md#change-log"; 31 description = "Python wrapper around nextcloud monitor api"; 32 homepage = "https://github.com/meichthys/nextcloud_monitor"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}