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