{ 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 ]; }; }