skydns: Move to go-packages
This commit is contained in:
parent
8fe216dd3e
commit
68be570a0a
|
@ -1,30 +0,0 @@
|
|||
{ lib, goPackages, fetchFromGitHub, etcd }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skydns-${version}";
|
||||
version = "2.5.2b";
|
||||
|
||||
goPackagePath = "github.com/skynetservices/skydns";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skynetservices";
|
||||
repo = "skydns";
|
||||
rev = version;
|
||||
sha256 = "01vac6bd71wky5jbd5k4a0x665bjn1cpmw7p655jrdcn5757c2lv";
|
||||
};
|
||||
|
||||
buildInputs = with goPackages; [ go-etcd rcrowley.go-metrics influxdb go-systemd go-log dns stathat osext etcd ];
|
||||
dontInstallSrc = true;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "DNS service discovery for etcd";
|
||||
homepage = https://github.com/skynetservices/skydns;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -3012,7 +3012,7 @@ let
|
|||
|
||||
skippy-xd = callPackage ../tools/X11/skippy-xd {};
|
||||
|
||||
skydns = callPackage ../servers/dns/skydns { };
|
||||
skydns = goPackages.skydns.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
sipcalc = callPackage ../tools/networking/sipcalc { };
|
||||
|
||||
|
|
|
@ -2620,6 +2620,17 @@ let
|
|||
propagatedBuildInputs = [ slices ];
|
||||
};
|
||||
|
||||
skydns = buildFromGitHub {
|
||||
rev = "2.5.2b";
|
||||
owner = "skynetservices";
|
||||
repo = "skydns";
|
||||
sha256 = "01vac6bd71wky5jbd5k4a0x665bjn1cpmw7p655jrdcn5757c2lv";
|
||||
|
||||
buildInputs = [
|
||||
go-etcd rcrowley.go-metrics influxdb go-systemd go-log dns stathat osext
|
||||
];
|
||||
};
|
||||
|
||||
slices = buildGoPackage rec {
|
||||
rev = "bb44bb2e4817fe71ba7082d351fd582e7d40e3ea";
|
||||
name = "slices-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
|
|
Loading…
Reference in New Issue