skawarePackages.tipidee: init at 0.0.1.0

This commit is contained in:
Profpatsch 2023-11-09 09:32:29 +01:00
parent d20ab8dcb8
commit 3a256b2896
3 changed files with 47 additions and 1 deletions

View File

@ -8,17 +8,22 @@ lib.makeScope pkgs.newScope (self:
buildPackage = callPackage ./build-skaware-package.nix { };
cleanPackaging = callPackage ./clean-packaging.nix { };
# execline
execline = callPackage ./execline { };
execline-man-pages = callPackage ./execline-man-pages { };
# servers & tools
mdevd = callPackage ./mdevd { };
nsss = callPackage ./nsss { };
sdnotify-wrapper = callPackage ./sdnotify-wrapper { };
tipidee = callPackage ./tipidee { };
utmps = callPackage ./utmps { };
# libs
skalibs = callPackage ./skalibs { };
skalibs_2_10 = callPackage ./skalibs/2_10.nix { };
sdnotify-wrapper = callPackage ./sdnotify-wrapper { };
# s6 tooling
s6 = callPackage ./s6 { };
s6-dns = callPackage ./s6-dns { };
s6-linux-init = callPackage ./s6-linux-init { };

View File

@ -0,0 +1,40 @@
{ skawarePackages }:
with skawarePackages;
buildPackage {
pname = "tipidee";
version = "0.0.1.0";
sha256 = "sha256-rKi9IX9CcRhY4n44i2vDom9MIeuGxRAHF7u0C3nNvFU=";
description = "A HTTP 1.1 webserver, serving static files and CGI/NPH";
outputs = [ "bin" "lib" "out" "dev" "doc" ];
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"
# we set sysconfdir to /etc here to allow tipidee-config
# to look in the global paths for its configs.
# This is not encouraged, but a valid use-case.
"--sysconfdir=/etc"
];
postInstall = ''
# remove all tipidee executables from build directory
rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
rm libtipidee.*
mv doc $doc/share/doc/tipidee/html
mv examples $doc/share/doc/tipidee/examples
'';
}

View File

@ -24991,6 +24991,7 @@ with pkgs;
sdnotify-wrapper
skalibs
skalibs_2_10
tipidee
utmps;
kgt = callPackage ../development/tools/kgt {