2019-06-16 21:59:06 +02:00
|
|
|
{ skawarePackages }:
|
2014-08-23 06:22:55 +02:00
|
|
|
|
2018-09-02 23:31:26 +02:00
|
|
|
with skawarePackages;
|
2014-08-23 06:22:55 +02:00
|
|
|
|
2018-09-02 23:31:26 +02:00
|
|
|
buildPackage {
|
|
|
|
pname = "skalibs";
|
2020-04-12 23:20:26 +02:00
|
|
|
version = "2.9.2.1";
|
|
|
|
sha256 = "0ff551181vv9d1z5sv7yg6n4b88ajcdircs4p4nif4yl7nsrj2r5";
|
2014-08-23 06:22:55 +02:00
|
|
|
|
2018-09-02 23:31:26 +02:00
|
|
|
description = "A set of general-purpose C programming libraries";
|
2014-08-23 06:22:55 +02:00
|
|
|
|
2018-07-22 17:03:19 +02:00
|
|
|
outputs = [ "lib" "dev" "doc" "out" ];
|
|
|
|
|
2014-12-23 17:06:27 +01:00
|
|
|
configureFlags = [
|
2018-09-02 23:31:26 +02:00
|
|
|
# assume /dev/random works
|
|
|
|
"--enable-force-devr"
|
2018-07-22 17:03:19 +02:00
|
|
|
"--libdir=\${lib}/lib"
|
|
|
|
"--dynlibdir=\${lib}/lib"
|
|
|
|
"--includedir=\${dev}/include"
|
|
|
|
"--sysdepdir=\${lib}/lib/skalibs/sysdeps"
|
2019-10-19 16:26:18 +02:00
|
|
|
# Empty the default path, which would be "/usr/bin:bin".
|
|
|
|
# It would be set when PATH is empty. This hurts hermeticity.
|
|
|
|
"--with-default-path="
|
2018-09-02 23:31:26 +02:00
|
|
|
];
|
2014-08-23 06:22:55 +02:00
|
|
|
|
2018-07-22 17:03:19 +02:00
|
|
|
postInstall = ''
|
2018-09-02 23:31:26 +02:00
|
|
|
rm -rf sysdeps.cfg
|
|
|
|
rm libskarnet.*
|
|
|
|
|
2018-07-22 17:03:19 +02:00
|
|
|
mv doc $doc/share/doc/skalibs/html
|
|
|
|
'';
|
|
|
|
|
2014-08-23 06:22:55 +02:00
|
|
|
}
|