summary refs log tree commit diff
path: root/pkgs/development/libraries/mps
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-03-24 20:32:39 -0500
committerAustin Seipp <aseipp@pobox.com>2014-03-24 20:32:39 -0500
commit33e4adc32576517781c8ea9851d36988ce46546d (patch)
tree6c25db449621a39db960fb21473cd3ff38783c53 /pkgs/development/libraries/mps
parentc7fd20ca5b853973dd4a9ea3fc85e52f5485da75 (diff)
downloadnixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar.gz
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar.bz2
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar.lz
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar.xz
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.tar.zst
nixpkgs-33e4adc32576517781c8ea9851d36988ce46546d.zip
mps: version 1.113.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/libraries/mps')
-rw-r--r--pkgs/development/libraries/mps/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mps/default.nix b/pkgs/development/libraries/mps/default.nix
new file mode 100644
index 00000000000..d01f5f84fec
--- /dev/null
+++ b/pkgs/development/libraries/mps/default.nix
@@ -0,0 +1,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 ];
+  };
+}