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.

32 lines
844 B
Nix
Raw Normal View History

2022-01-26 03:31:28 +01:00
{ lib
, rustPlatform
, fetchFromGitHub
, 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=";
passthru.tests = { inherit (nixosTests) podman; };
2022-01-26 03:31:28 +01:00
meta = with lib; {
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
};
}