@@ -1,14 +1,29 @@
1−{ stdenv, fetchurl, coreutils, autoconf, automake, smlnj }:
1+{ stdenv, fetchFromGitHub, coreutils, autoreconfHook, smlnj }:
22
3−stdenv.mkDerivation rec {
3+let
4+ rev = "592a5714595b4448b646a7d49df04c285668c2f8";
5+in stdenv.mkDerivation rec {
46 name = "manticore-${version}";
57 version = "2014.08.18";
6− builder = ./builder.sh;
7− src = fetchurl {
8− url = https://github.com/rrnewton/manticore_temp_mirror/archive/snapshot-20140818.tar.gz;
9− sha256 = "1x52xpj5gbcpqjqm6aw6ssn901f353zypj3d5scm8i3ad777y29d";
8+
9+ src = fetchFromGitHub {
10+ owner = "rrnewton";
11+ repo = "manticore_temp_mirror";
12+ sha256 = "1snwlm9a31wfgvzb80y7r7yvc6n0k0bi675lqwzll95as7cdswwi";
13+ inherit rev;
1014 };
11− inherit stdenv coreutils autoconf automake smlnj;
15+
16+ enableParallelBuilding = false;
17+
18+ nativeBuildInputs = [ autoreconfHook ];
19+
20+ buildInputs = [ coreutils smlnj ];
21+
22+ autoreconfFlags = "-Iconfig -vfi";
23+
24+ postPatch = "patchShebangs .";
25+
26+ preInstall = "mkdir -p $out/bin";
1227
1328 meta = {
1429 description = "A parallel, pure variant of Standard ML";