Merge pull request #263029 from nbraud/pkgs/aardvark-dns

aardvark-dns: 1.7.0 → 1.8.0
This commit is contained in:
Mario Rodas 2023-10-25 19:51:45 -05:00 committed by GitHub
commit 31ba79f929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,29 +1,21 @@
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, nixosTests
}:
rustPlatform.buildRustPackage rec {
pname = "aardvark-dns";
version = "1.7.0";
version = "1.8.0";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-bScL8hFV/Kot7P9nJRMDDhB8pllPUsejtJpbjmQ8skI=";
hash = "sha256-7nuLHhkVwMc2RYq3rS9bZl39asjFAnsHxnecPypT1HM=";
};
cargoHash = "sha256-rrn+ZTAsFs7UTP4xQL3Cy8G6RG7vwT0wMKnXHHIkB90=";
patches = [
(fetchpatch { # https://github.com/containers/aardvark-dns/issues/379
url = "https://github.com/containers/aardvark-dns/commit/b13f0434f410934b515f086334414c6f5f55096e.diff";
hash = "sha256-6XReIShEe8+WKc5jK5NzCNMEd4INdOn9Sf8UrQLbj+s=";
})
];
cargoHash = "sha256-WwM4lPWQmfsBjL4M/j3sZkLtH+Wdy9LTv4M4AF0Z6oo=";
passthru.tests = { inherit (nixosTests) podman; };