mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
43e91f57d5
Diff: https://github.com/containers/aardvark-dns/compare/v1.5.0...v1.6.0 Changelog: https://github.com/containers/aardvark-dns/releases/tag/v1.6.0
31 lines
809 B
Nix
31 lines
809 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "aardvark-dns";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "containers";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-l240kejJjv3rVb4S9ngXo88kmByuS/Co3AB/SSv+iIA=";
|
|
};
|
|
|
|
cargoHash = "sha256-d3u/He8+Ei+tX37EgYTGW5gjcalawlTdPekV9iLK7XI=";
|
|
|
|
passthru.tests = { inherit (nixosTests) podman; };
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/containers/aardvark-dns/releases/tag/${src.rev}";
|
|
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;
|
|
};
|
|
}
|