summary refs log tree commit diff
path: root/pkgs/development/libraries/mps/default.nix
blob: d01f5f84fec81851f2524c6d9168a818d570ee65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, autoreconfHook, sqlite }:

stdenv.mkDerivation rec {
  name = "mps-${version}";
  version = "1.113.0";

  src = fetchurl {
    url    = "http://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
    sha256 = "0v4difh3yl2mvpvnwlavhaags945l1452g07fllhdbpzgbjay79i";
  };

  buildInputs = [ autoreconfHook sqlite ];

  # Fix a slightly annoying build failure in 'make install'
  patchPhase = "substituteInPlace ./Makefile.in --replace /hot/Release /hot";

  meta = {
    description = "A flexible memory management and garbage collection library";
    homepage    = "http://www.ravenbrook.com/project/mps";
    license     = stdenv.lib.licenses.sleepycat;
    platforms   = stdenv.lib.platforms.unix;
    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
  };
}