2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2023-01-11 07:51:40 +00:00
|
|
|
, nixosTests
|
2022-03-05 16:20:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "aardvark-dns";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.11.0";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-MejXcHleJ6AmnoiZefZfp9La8D4PxHgEg0pMxUk2740=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
cargoHash = "sha256-r7etdWr/0cY38A7fRB5QQ86EyQ5YpuxyY3vx5qrdquc=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
passthru.tests = { inherit (nixosTests) podman; };
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
meta = with lib; {
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/containers/aardvark-dns/releases/tag/${src.rev}";
|
2022-03-05 16:20:37 +00:00
|
|
|
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;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "aardvark-dns";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
}
|