2014-03-25 05:32:39 +04:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, sqlite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "mps";
|
2018-10-24 23:18:27 +03:00
|
|
|
version = "1.117.0";
|
2014-03-25 05:32:39 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-05 22:42:46 +03:00
|
|
|
url = "https://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
|
2018-10-24 23:18:27 +03:00
|
|
|
sha256 = "04ix4l7lk6nxxk9sawpnxbybvqb82lks5606ym10bc1qbc2kqdcz";
|
2014-03-25 05:32:39 +04:00
|
|
|
};
|
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ sqlite ];
|
2014-03-25 05:32:39 +04:00
|
|
|
|
2018-03-09 15:36:45 +03:00
|
|
|
# needed for 1.116.0 to build with gcc7
|
2019-10-30 14:34:47 +03:00
|
|
|
NIX_CFLAGS_COMPILE = toString [
|
2018-03-09 15:36:45 +03:00
|
|
|
"-Wno-implicit-fallthrough"
|
2018-10-24 23:18:27 +03:00
|
|
|
"-Wno-error=clobbered"
|
2019-01-15 20:20:58 +03:00
|
|
|
"-Wno-error=cast-function-type"
|
2018-03-09 15:36:45 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
|
2014-03-25 05:32:39 +04:00
|
|
|
meta = {
|
|
|
|
description = "A flexible memory management and garbage collection library";
|
2018-01-05 22:42:46 +03:00
|
|
|
homepage = "https://www.ravenbrook.com/project/mps";
|
2014-03-25 05:32:39 +04:00
|
|
|
license = stdenv.lib.licenses.sleepycat;
|
2014-03-30 04:30:13 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-03-25 05:32:39 +04:00
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|