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