acme-dns: v0.8
This commit is contained in:
parent
67b0672f15
commit
80c1d3e124
2 changed files with 25 additions and 2 deletions
|
@ -7,7 +7,8 @@ let
|
||||||
subsetArgs = builtins.listToAttrs [{ name = attrName; value = mergedSubset; }];
|
subsetArgs = builtins.listToAttrs [{ name = attrName; value = mergedSubset; }];
|
||||||
in
|
in
|
||||||
callPackage f (subsetArgs // extraArgs);
|
callPackage f (subsetArgs // extraArgs);
|
||||||
self = rec {
|
self = rec {
|
||||||
};
|
acme-dns = callPackage ./servers/acme-dns.nix {};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
self
|
self
|
||||||
|
|
22
pkgs/servers/acme-dns.nix
Normal file
22
pkgs/servers/acme-dns.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
|
||||||
|
let
|
||||||
|
version = "0.8";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "joohoi";
|
||||||
|
repo = "acme-dns";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-jt4sKwC0Ws6HMFG6+EdeMLZsmmy1UhVihUARzd1EU+w=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
buildGoModule {
|
||||||
|
pname = "acme-dns";
|
||||||
|
inherit src version;
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-jWkW7cuP0kd2ukdEJt92jMHWKwbCKL54tgEaVuo+SHs=";
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/joohoi/acme-dns";
|
||||||
|
description = "Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely.";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue