2019-06-16 20:59:06 +01:00
|
|
|
{ skawarePackages }:
|
2014-08-23 05:22:55 +01:00
|
|
|
|
2018-09-02 22:31:26 +01:00
|
|
|
with skawarePackages;
|
2014-08-23 05:22:55 +01:00
|
|
|
|
2018-09-02 22:31:26 +01:00
|
|
|
buildPackage {
|
|
|
|
pname = "skalibs";
|
2019-10-28 13:44:58 +00:00
|
|
|
version = "2.9.1.0";
|
|
|
|
sha256 = "19c6s3f7vxi96l2yqzjk9x9i4xkfg4fdzxhn1jg6bfb2qjph9cnk";
|
2014-08-23 05:22:55 +01:00
|
|
|
|
2018-09-02 22:31:26 +01:00
|
|
|
description = "A set of general-purpose C programming libraries";
|
2014-08-23 05:22:55 +01:00
|
|
|
|
2018-07-22 16:03:19 +01:00
|
|
|
outputs = [ "lib" "dev" "doc" "out" ];
|
|
|
|
|
2014-12-23 16:06:27 +00:00
|
|
|
configureFlags = [
|
2018-09-02 22:31:26 +01:00
|
|
|
# assume /dev/random works
|
|
|
|
"--enable-force-devr"
|
2018-07-22 16:03:19 +01:00
|
|
|
"--libdir=\${lib}/lib"
|
|
|
|
"--dynlibdir=\${lib}/lib"
|
|
|
|
"--includedir=\${dev}/include"
|
|
|
|
"--sysdepdir=\${lib}/lib/skalibs/sysdeps"
|
2019-10-19 15:26:18 +01: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 22:31:26 +01:00
|
|
|
];
|
2014-08-23 05:22:55 +01:00
|
|
|
|
2018-07-22 16:03:19 +01:00
|
|
|
postInstall = ''
|
2018-09-02 22:31:26 +01:00
|
|
|
rm -rf sysdeps.cfg
|
|
|
|
rm libskarnet.*
|
|
|
|
|
2018-07-22 16:03:19 +01:00
|
|
|
mv doc $doc/share/doc/skalibs/html
|
|
|
|
'';
|
|
|
|
|
2014-08-23 05:22:55 +01:00
|
|
|
}
|