3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/build-managers/jam/default.nix
R. RyanTM 6034acabd1 jam: 2.6 -> 2.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jam/versions
2019-09-26 15:14:19 -07:00

37 lines
812 B
Nix

{ stdenv, fetchurl, yacc }:
stdenv.mkDerivation rec {
name = "jam-2.6.1";
src = fetchurl {
url = "https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/${name}.tar";
sha256 = "19xkvkpycxfsncxvin6yqrql3x3z9ypc1j8kzls5k659q4kv5rmc";
};
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;
};
}