Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5}: 6 7buildGoModule rec { 8 pname = "webdav"; 9 version = "5.8.0"; 10 11 src = fetchFromGitHub { 12 owner = "hacdias"; 13 repo = "webdav"; 14 tag = "v${version}"; 15 hash = "sha256-6G9NlQVYFDLuIxKJXq0Rcixx1AiDhTHUekumMNqXi44="; 16 }; 17 18 vendorHash = "sha256-B78O13FPpkcuE808c2hLiIDPQdS5qlaw1dWLc9T7hvM="; 19 20 __darwinAllowLocalNetworking = true; 21 22 meta = { 23 description = "Simple WebDAV server"; 24 homepage = "https://github.com/hacdias/webdav"; 25 changelog = "https://github.com/hacdias/webdav/releases/tag/v${version}"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ 28 pmy 29 pbsds 30 ]; 31 mainProgram = "webdav"; 32 }; 33}