mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
4616ef1f41
It should be more performant this way.
31 lines
624 B
Nix
31 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
|
|
'';
|
|
|
|
}
|