blob: 7314643530e85a6af6d422c690ca06ee2f44a7df (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
{ stdenv, fetchurl, yacc }:
stdenv.mkDerivation rec {
name = "jam-2.6";
src = fetchurl {
url = "https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/${name}.tar";
sha256 = "0j4r7xcjz15ksnnpjw56qi99q4lpjmx097pkwwkl1hq3hqml1zhn";
};
nativeBuildInputs = [ yacc ];
preConfigure = ''
unset AR
'';
buildPhase = ''
make jam0
./jam0 -j$NIX_BUILD_CORES -sBINDIR=$out/bin install
'';
installPhase = ''
mkdir -p $out/doc/jam
cp *.html $out/doc/jam
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://www.perforce.com/resources/documentation/jam;
license = licenses.free;
description = "Just Another Make";
maintainers = with maintainers; [ orivej ];
platforms = platforms.unix;
};
}
|