29 lines
809 B
Nix
29 lines
809 B
Nix
{ stdenv, fetchurl, autoreconfHook, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mps-${version}";
|
|
version = "1.116.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
|
|
sha256 = "1k7vnanpgawnj84x2xs6md57pfib9p7c3acngqzkl3c2aqw8qay0";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ sqlite ];
|
|
|
|
# needed for 1.116.0 to build with gcc7
|
|
NIX_CFLAGS_COMPILE = [
|
|
"-Wno-implicit-fallthrough"
|
|
];
|
|
|
|
|
|
meta = {
|
|
description = "A flexible memory management and garbage collection library";
|
|
homepage = "https://www.ravenbrook.com/project/mps";
|
|
license = stdenv.lib.licenses.sleepycat;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
};
|
|
}
|