2021-11-08 06:51:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "webdav";
|
2022-07-31 06:01:46 +00:00
|
|
|
version = "4.2.0";
|
2021-11-08 06:51:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hacdias";
|
|
|
|
repo = "webdav";
|
|
|
|
rev = "v${version}";
|
2022-07-31 06:01:46 +00:00
|
|
|
sha256 = "sha256-4rgDO1vItmmCRXRiO24MPa9IPzrsfzCWLH6hl6oKkxk=";
|
2021-11-08 06:51:19 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-az+EasmKitFPWD5JfKaSKZGok/n/dPmIv90RiL750KY=";
|
2021-11-08 06:51:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple WebDAV server";
|
|
|
|
homepage = "https://github.com/hacdias/webdav";
|
|
|
|
license = licenses.mit;
|
2021-11-21 04:51:05 +00:00
|
|
|
maintainers = with maintainers; [ pmy ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "webdav";
|
2021-11-08 06:51:19 +00:00
|
|
|
};
|
|
|
|
}
|