nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 59 lines 1.6 kB view raw
1{ 2 lib, 3 skawarePackages, 4 skalibs, 5 execline, 6}: 7 8skawarePackages.buildPackage { 9 pname = "s6"; 10 version = "2.13.2.0"; 11 sha256 = "sha256-xRFLgEJxa7cGkUBpMayw4nltg7Qcv7XIBo3OegL5mkU="; 12 13 manpages = skawarePackages.buildManPages { 14 pname = "s6-man-pages"; 15 version = "2.13.1.0.1"; 16 sha256 = "sha256-SChxod/W/KxxSic4ttXigwgRWMWLl9Z66i2t7H1nn/s="; 17 description = "Port of the documentation for the s6 supervision suite to mdoc"; 18 maintainers = [ lib.maintainers.sternenseemann ]; 19 }; 20 21 description = "skarnet.org's small & secure supervision software suite"; 22 23 # NOTE lib: cannot split lib from bin at the moment, 24 # since some parts of lib depend on executables in bin. 25 # (the `*_startf` functions in `libs6`) 26 outputs = [ 27 # "bin" "lib" 28 "out" 29 "dev" 30 "doc" 31 ]; 32 33 # TODO: nsss support 34 configureFlags = [ 35 "--libdir=\${out}/lib" 36 "--libexecdir=\${out}/libexec" 37 "--dynlibdir=\${out}/lib" 38 "--bindir=\${out}/bin" 39 "--includedir=\${dev}/include" 40 "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps" 41 "--with-include=${skalibs.dev}/include" 42 "--with-include=${execline.dev}/include" 43 "--with-lib=${skalibs.lib}/lib" 44 "--with-lib=${execline.lib}/lib" 45 "--with-dynlib=${skalibs.lib}/lib" 46 "--with-dynlib=${execline.lib}/lib" 47 ]; 48 49 postInstall = '' 50 # remove all s6 executables from build directory 51 rm $(find -type f -mindepth 1 -maxdepth 1 -executable) 52 rm libs6.* 53 rm ./libs6auto.a.xyzzy 54 55 mv doc $doc/share/doc/s6/html 56 mv examples $doc/share/doc/s6/examples 57 ''; 58 59}