bind: add withCheck build to passthru.tests (#305771)
This commit is contained in:
@@ -23,12 +23,12 @@
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bind";
|
||||
version = "9.18.28";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.isc.org/isc/bind9/${version}/${pname}-${version}.tar.xz";
|
||||
url = "https://downloads.isc.org/isc/bind9/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-58zpoWX3thnu/Egy8KjcFrAF0p44kK7WAIxQbqKGpec=";
|
||||
};
|
||||
|
||||
@@ -104,6 +104,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
withCheck = finalAttrs.finalPackage.overrideAttrs { doCheck = true; };
|
||||
inherit (nixosTests) bind;
|
||||
prometheus-exporter = nixosTests.prometheus-exporters.bind;
|
||||
kubernetes-dns-single-node = nixosTests.kubernetes.dns-single-node;
|
||||
@@ -123,10 +124,10 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://www.isc.org/bind/";
|
||||
description = "Domain name server";
|
||||
license = licenses.mpl20;
|
||||
changelog = "https://downloads.isc.org/isc/bind9/cur/${lib.versions.majorMinor version}/CHANGES";
|
||||
changelog = "https://downloads.isc.org/isc/bind9/cur/${lib.versions.majorMinor finalAttrs.version}/CHANGES";
|
||||
maintainers = with maintainers; [ globin ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
outputsToInstall = [ "out" "dnsutils" "host" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user