2022-01-26 03:31:28 +01:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2022-08-18 08:02:54 +02:00
|
|
|
, nixosTests
|
2022-01-26 03:31:28 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "aardvark-dns";
|
2024-09-05 02:39:31 +02:00
|
|
|
version = "1.12.2";
|
2022-01-26 03:31:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-05 02:39:31 +02:00
|
|
|
hash = "sha256-1fYJ0G75sbg97HiN6HNWwlG82jqENqVTC/sXgH+oXWA=";
|
2022-01-26 03:31:28 +01:00
|
|
|
};
|
|
|
|
|
2024-09-05 02:39:31 +02:00
|
|
|
cargoHash = "sha256-COZmd5sqaewK0La78/1J9bGJdsPNyeT18wV2qr/b6cM=";
|
2023-09-03 07:48:38 +02:00
|
|
|
|
2022-08-18 08:02:54 +02:00
|
|
|
passthru.tests = { inherit (nixosTests) podman; };
|
|
|
|
|
2022-01-26 03:31:28 +01:00
|
|
|
meta = with lib; {
|
2023-04-12 05:56:32 +02:00
|
|
|
changelog = "https://github.com/containers/aardvark-dns/releases/tag/${src.rev}";
|
2022-01-26 03:31:28 +01: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-11 03:19:15 +01:00
|
|
|
mainProgram = "aardvark-dns";
|
2022-01-26 03:31:28 +01:00
|
|
|
};
|
|
|
|
}
|