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