2024-07-27 06:49:29 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "webdav";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "4.2.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hacdias";
|
|
|
|
repo = "webdav";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-4rgDO1vItmmCRXRiO24MPa9IPzrsfzCWLH6hl6oKkxk=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-az+EasmKitFPWD5JfKaSKZGok/n/dPmIv90RiL750KY=";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple WebDAV server";
|
|
|
|
homepage = "https://github.com/hacdias/webdav";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pmy ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "webdav";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|