nixpkgs/pkgs/tools/networking/aardvark-dns/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
723 B
Nix
Raw Normal View History

2022-01-26 02:31:28 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, nixosTests
2022-01-26 02:31:28 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "aardvark-dns";
version = "1.5.0";
2022-01-26 02:31:28 +00:00
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-N439ubEayoyfGrzkXE7+TeJQkddy8PZn5Lhmc/X5VxU=";
2022-01-26 02:31:28 +00:00
};
cargoHash = "sha256-cIHz672jd8NKLyLvwsZInLerdA9MXRgWdpJFgMSgs9Q=";
2022-01-26 02:31:28 +00:00
passthru.tests = { inherit (nixosTests) podman; };
2022-01-26 02:31:28 +00:00
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;
};
}