python312Packages.yoda: 2.0.1 -> 2.0.2
[NixPkgs.git] / pkgs / development / skaware-packages / s6-dns / default.nix
blobe51beccd74d2adac88d574a8ea4c318d33199097
1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
4   pname = "s6-dns";
5   version = "2.3.7.2";
6   sha256 = "au4yu2jQH1EJ9x4xooMhPGaM08Dnn7nkaebKu1gHnys=";
8   description = "Suite of DNS client programs and libraries for Unix systems";
10   outputs = [ "bin" "lib" "dev" "doc" "out" ];
12   configureFlags = [
13     "--libdir=\${lib}/lib"
14     "--libexecdir=\${lib}/libexec"
15     "--dynlibdir=\${lib}/lib"
16     "--bindir=\${bin}/bin"
17     "--includedir=\${dev}/include"
18     "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
19     "--with-include=${skalibs.dev}/include"
20     "--with-lib=${skalibs.lib}/lib"
21     "--with-dynlib=${skalibs.lib}/lib"
22   ];
24   postInstall = ''
25     # remove all s6-dns executables from build directory
26     rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
27     rm libs6dns.*
28     rm libskadns.*
30     mv doc $doc/share/doc/s6-dns/html
31   '';