forked from mirrors/nixpkgs
dave: init at 0.4.0
This commit is contained in:
parent
0d02ab2028
commit
14aee2e9c8
28
pkgs/servers/http/dave/default.nix
Normal file
28
pkgs/servers/http/dave/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub, mage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "dave";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "micromata";
|
||||
repo = "dave";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-wvsW4EwMWAgEV+LPeMhHL4AsuyS5TDMmpD9D4F1nVM4=";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/micromata/dave";
|
||||
|
||||
subPackages = [ "cmd/dave" "cmd/davecli" ];
|
||||
|
||||
ldflags =
|
||||
[ "-s" "-w" "-X main.version=${version}" "-X main.builtBy=nixpkgs" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/micromata/dave";
|
||||
description =
|
||||
"A totally simple and very easy to configure stand alone webdav server";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ lunik1 ];
|
||||
};
|
||||
}
|
|
@ -2672,6 +2672,8 @@ with pkgs;
|
|||
|
||||
datovka = libsForQt5.callPackage ../applications/networking/datovka { };
|
||||
|
||||
dave = callPackage ../servers/http/dave { };
|
||||
|
||||
dconf = callPackage ../development/libraries/dconf { };
|
||||
|
||||
dcw-gmt = callPackage ../applications/gis/gmt/dcw.nix { };
|
||||
|
|
Loading…
Reference in a new issue