mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
23 lines
623 B
Nix
23 lines
623 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "caddy";
|
|
version = "2.0.0";
|
|
|
|
subPackages = [ "cmd/caddy" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "caddyserver";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1c1frfx0qkprhf4var70cncvrw8s9gjag2hygndbd9055hb52bvv";
|
|
};
|
|
vendorSha256 = "004hpjxpp18f71vy5v5ky0g07a8d5xh5qwl5b4bbx34hpf8yxs81";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://caddyserver.com";
|
|
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
};
|
|
}
|