python312Packages.llm-gguf: init at 0.2 (#364926)
[NixPkgs.git] / pkgs / development / skaware-packages / utmps / default.nix
blobc287e70d957a59282f03a43033e6cc5138cd1e7d
1 { skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
4   pname = "utmps";
5   version = "0.1.2.2";
6   sha256 = "sha256-9/+jcUxllzu5X7zxUBwG/AR42TpRzqGzc+xoEcJCX1I=";
8   description = "Secure utmpx and wtmp implementation";
10   configureFlags = [
11     "--libdir=\${lib}/lib"
12     "--dynlibdir=\${lib}/lib"
13     "--bindir=\${bin}/bin"
14     "--includedir=\${dev}/include"
15     "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
16     "--with-include=${skalibs.dev}/include"
17     "--with-lib=${skalibs.lib}/lib"
18     "--with-dynlib=${skalibs.lib}/lib"
19   ];
21   postInstall = ''
22     # remove all execline executables from build directory
23     rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
24     rm libutmps.*
26     mv doc $doc/share/doc/utmps/html
27     mv examples $doc/share/doc/utmps/examples
28   '';