caddy1: remove
This commit is contained in:
parent
3429b8de2b
commit
9e7e0e9aa1
@ -1,38 +0,0 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
||||||
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "caddy";
|
|
||||||
version = "1.0.5";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/caddyserver/caddy";
|
|
||||||
|
|
||||||
subPackages = [ "caddy" ];
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "caddyserver";
|
|
||||||
repo = pname;
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0jrhwmr6gggppskg5h450wybzkv17iq69dgw36hd1dp56q002i7g";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorSha256 = "09vnci9pp8zp7bvn8zj68wslz2nc54nhcd0ll31sqfjbp00215mj";
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
cat << EOF > caddy/main.go
|
|
||||||
package main
|
|
||||||
import "github.com/caddyserver/caddy/caddy/caddymain"
|
|
||||||
var run = caddymain.Run // replaced for tests
|
|
||||||
func main() {
|
|
||||||
caddymain.EnableTelemetry = false
|
|
||||||
run()
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
'';
|
|
||||||
|
|
||||||
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; [ rushmorem fpletz zimbatm filalex77 ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -67,6 +67,7 @@ mapAliases ({
|
|||||||
buildGo112Package = throw "buildGo112Package has been removed"; # added 2020-04-26
|
buildGo112Package = throw "buildGo112Package has been removed"; # added 2020-04-26
|
||||||
buildGo112Module = throw "buildGo112Module has been removed"; # added 2020-04-26
|
buildGo112Module = throw "buildGo112Module has been removed"; # added 2020-04-26
|
||||||
bundler_HEAD = bundler; # added 2015-11-15
|
bundler_HEAD = bundler; # added 2015-11-15
|
||||||
|
caddy1 = throw "caddy 1.x has been removed from nixpkgs, as it's unmaintained: https://github.com/caddyserver/caddy/blob/master/.github/SECURITY.md#supported-versions"; # added 2020-10-02
|
||||||
cantarell_fonts = cantarell-fonts; # added 2018-03-03
|
cantarell_fonts = cantarell-fonts; # added 2018-03-03
|
||||||
cargo-tree = throw "cargo-tree has been removed, use the builtin `cargo tree` command instead."; # added 2020-08-20
|
cargo-tree = throw "cargo-tree has been removed, use the builtin `cargo tree` command instead."; # added 2020-08-20
|
||||||
casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken.";
|
casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken.";
|
||||||
|
@ -1531,10 +1531,6 @@ in
|
|||||||
});
|
});
|
||||||
|
|
||||||
caddy = callPackage ../servers/caddy { };
|
caddy = callPackage ../servers/caddy { };
|
||||||
caddy1 = callPackage ../servers/caddy/v1.nix {
|
|
||||||
# https://github.com/lucas-clemente/quic-go/issues/2614
|
|
||||||
buildGoModule = buildGo114Module;
|
|
||||||
};
|
|
||||||
|
|
||||||
traefik = callPackage ../servers/traefik { };
|
traefik = callPackage ../servers/traefik { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user