4616ef1f41
It should be more performant this way.
30 lines
624 B
Nix
30 lines
624 B
Nix
{ stdenv, skawarePackages }:
|
|
|
|
with skawarePackages;
|
|
|
|
buildPackage {
|
|
pname = "skalibs";
|
|
version = "2.7.0.0";
|
|
sha256 = "0mnprdf4w4ami0db22rwd111m037cdmn2p8xa4i8cbwxcrv4sjcn";
|
|
|
|
description = "A set of general-purpose C programming libraries";
|
|
|
|
outputs = [ "lib" "dev" "doc" "out" ];
|
|
|
|
configureFlags = [
|
|
# assume /dev/random works
|
|
"--enable-force-devr"
|
|
"--libdir=\${lib}/lib"
|
|
"--dynlibdir=\${lib}/lib"
|
|
"--includedir=\${dev}/include"
|
|
"--sysdepdir=\${lib}/lib/skalibs/sysdeps"
|
|
];
|
|
|
|
postInstall = ''
|
|
rm -rf sysdeps.cfg
|
|
rm libskarnet.*
|
|
|
|
mv doc $doc/share/doc/skalibs/html
|
|
'';
|
|
|
|
}
|