2014-03-25 02:32:39 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, sqlite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mps-${version}";
|
2017-09-03 18:04:41 +02:00
|
|
|
version = "1.116.0";
|
2014-03-25 02:32:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-05 20:42:46 +01:00
|
|
|
url = "https://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
|
2017-09-03 18:04:41 +02:00
|
|
|
sha256 = "1k7vnanpgawnj84x2xs6md57pfib9p7c3acngqzkl3c2aqw8qay0";
|
2014-03-25 02:32:39 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ sqlite ];
|
2014-03-25 02:32:39 +01:00
|
|
|
|
2018-03-09 13:36:45 +01:00
|
|
|
# needed for 1.116.0 to build with gcc7
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-Wno-implicit-fallthrough"
|
|
|
|
];
|
|
|
|
|
|
|
|
|
2014-03-25 02:32:39 +01:00
|
|
|
meta = {
|
|
|
|
description = "A flexible memory management and garbage collection library";
|
2018-01-05 20:42:46 +01:00
|
|
|
homepage = "https://www.ravenbrook.com/project/mps";
|
2014-03-25 02:32:39 +01:00
|
|
|
license = stdenv.lib.licenses.sleepycat;
|
2014-03-30 01:30:13 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-03-25 02:32:39 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|