aardvark-dns: init at 1.0.0
This commit is contained in:
parent
0d033358d6
commit
d4dc555985
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/networking/aardvark-dns/default.nix
Normal file
36
pkgs/tools/networking/aardvark-dns/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "aardvark-dns";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RFA/C0Q4u1WMQ0bsFKbkyzar0vDRfQ6YPpu/Np3xXWA=";
|
||||
};
|
||||
|
||||
cargoVendorDir = "vendor";
|
||||
|
||||
preBuild = ''
|
||||
rm build.rs
|
||||
|
||||
export \
|
||||
VERGEN_BUILD_SEMVER="${version}" \
|
||||
VERGEN_BUILD_TIMESTAMP="$SOURCE_DATE_EPOCH" \
|
||||
VERGEN_GIT_SHA="${src.rev}" \
|
||||
VERGEN_RUSTC_HOST_TRIPLE=""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Authoritative dns server for A/AAAA container records";
|
||||
homepage = "https://github.com/containers/aardvark-dns";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ] ++ teams.podman.members;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -879,6 +879,8 @@ with pkgs;
|
|||
|
||||
_9pfs = callPackage ../tools/filesystems/9pfs { };
|
||||
|
||||
aardvark-dns = callPackage ../tools/networking/aardvark-dns { };
|
||||
|
||||
a2ps = callPackage ../tools/text/a2ps { };
|
||||
|
||||
abcm2ps = callPackage ../tools/audio/abcm2ps { };
|
||||
|
|
Loading…
Reference in a new issue