Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
898 B
Nix
40 lines
898 B
Nix
{ skawarePackages, skalibs }:
|
|
|
|
skawarePackages.buildPackage {
|
|
pname = "s6-dns";
|
|
version = "2.4.1.0";
|
|
sha256 = "sha256-tjCFGfEJpnRpxKqvqd8fAJrQlh+nmP/Dj4lVh+aTVyk=";
|
|
|
|
description = "Suite of DNS client programs and libraries for Unix systems";
|
|
|
|
outputs = [
|
|
"bin"
|
|
"lib"
|
|
"dev"
|
|
"doc"
|
|
"out"
|
|
];
|
|
|
|
configureFlags = [
|
|
"--libdir=\${lib}/lib"
|
|
"--libexecdir=\${lib}/libexec"
|
|
"--dynlibdir=\${lib}/lib"
|
|
"--bindir=\${bin}/bin"
|
|
"--includedir=\${dev}/include"
|
|
"--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
|
|
"--with-include=${skalibs.dev}/include"
|
|
"--with-lib=${skalibs.lib}/lib"
|
|
"--with-dynlib=${skalibs.lib}/lib"
|
|
];
|
|
|
|
postInstall = ''
|
|
# remove all s6-dns executables from build directory
|
|
rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
|
|
rm libs6dns.*
|
|
rm libskadns.*
|
|
|
|
mv doc $doc/share/doc/s6-dns/html
|
|
'';
|
|
|
|
}
|