2015-09-07 11:37:18 +02:00
|
|
|
{stdenv, fetchurl, yacc}:
|
2011-03-30 20:45:11 +02:00
|
|
|
|
2012-02-25 17:47:21 +01:00
|
|
|
let
|
|
|
|
bindir = if stdenv.system == "i686-linux" then "bin.linuxx86"
|
|
|
|
else if stdenv.system == "x86_64-linux" then "bin.linux"
|
|
|
|
else throw "Unsupported platform by now";
|
|
|
|
in
|
|
|
|
|
2011-03-30 20:45:11 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jam-2.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://ftp.perforce.com/jam/jam-2.5.tar;
|
|
|
|
sha256 = "04c6khd7gdkqkvx4h3nbz99lyz7waid4fd221hq5chcygyx1sj3i";
|
|
|
|
};
|
|
|
|
|
2015-09-07 11:37:18 +02:00
|
|
|
buildInputs = [ yacc ];
|
|
|
|
|
2011-03-30 20:45:11 +02:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2012-02-25 17:47:21 +01:00
|
|
|
cp ${bindir}/jam $out/bin
|
2011-03-30 20:45:11 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://public.perforce.com/wiki/Jam;
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2011-03-30 20:45:11 +02:00
|
|
|
description = "Just Another Make";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-03-30 20:45:11 +02:00
|
|
|
};
|
|
|
|
}
|