nixpkgs/pkgs/servers/webdav/default.nix
2024-10-23 00:23:58 +02:00

29 lines
635 B
Nix

{ lib, fetchFromGitHub, buildGo123Module }:
buildGo123Module rec {
pname = "webdav";
version = "5.4.2";
src = fetchFromGitHub {
owner = "hacdias";
repo = "webdav";
rev = "v${version}";
sha256 = "sha256-a1XAlmEW8gNTgVZiJ200CP/wvbwvyv4Lc3L6KP/4Mik=";
};
vendorHash = "sha256-d8WauJ1i429dr79iHgrbFRZCmx+W6OobSINy8aNGG6w=";
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Simple WebDAV server";
homepage = "https://github.com/hacdias/webdav";
license = licenses.mit;
maintainers = with maintainers; [
pmy
pbsds
];
mainProgram = "webdav";
};
}