37ae6de95d
The website gives no indication that version 4.x is required to build this package, and even it if were, then there should be an override in all-packages.nix instead of referring to the 'gnumake40' attribute directly in this expression.
32 lines
806 B
Nix
32 lines
806 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
|
|
version = "2.0.0.0";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "skalibs-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://skarnet.org/software/skalibs/${name}.tar.gz";
|
|
sha256 = "0cz30wqg8fnkwjlacs4s3sjs3l34sa91xgci95fmb187zhiq693n";
|
|
};
|
|
|
|
dontDisableStatic = true;
|
|
|
|
configureFlags = [
|
|
"--enable-force-devr" # assume /dev/random works
|
|
"--libdir=\${prefix}/lib"
|
|
"--includedir=\${prefix}/include"
|
|
"--sysdepdir=\${prefix}/lib/skalibs/sysdeps"
|
|
] ++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ]);
|
|
|
|
meta = {
|
|
homepage = http://skarnet.org/software/skalibs/;
|
|
description = "A set of general-purpose C programming libraries";
|
|
platforms = stdenv.lib.platforms.all;
|
|
license = stdenv.lib.licenses.isc;
|
|
};
|
|
|
|
}
|