nixpkgs/pkgs/development/libraries/mps/default.nix

31 lines
855 B
Nix
Raw Normal View History

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