mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
4842708ca1
svn path=/nixpkgs/trunk/; revision=12179
27 lines
904 B
Nix
27 lines
904 B
Nix
{stdenv, fetchurl, python, version, versionHash}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "scons-${version}";
|
|
meta =
|
|
{
|
|
homepage = "http://scons.org/";
|
|
description = "An improved, cross-platform substitute for Make";
|
|
longDescription =
|
|
'' SCons is an Open Source software construction tool. Think of
|
|
SCons as an improved, cross-platform substitute for the classic
|
|
Make utility with integrated functionality similar to
|
|
autoconf/automake and compiler caches such as ccache. In short,
|
|
SCons is an easier, more reliable and faster way to build
|
|
software.
|
|
'';
|
|
};
|
|
src = fetchurl
|
|
{
|
|
url = "mirror://sourceforge/scons/scons-${version}.tar.gz";
|
|
sha256 = "${versionHash}";
|
|
};
|
|
propagatedBuildInputs = [python];
|
|
buildPhase = "true";
|
|
installPhase = "python setup.py install --prefix=$out --install-lib=$(toPythonPath $out) --hardlink-scons -O1";
|
|
}
|