summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/scons/default.nix
blob: 077d4e452ec74c82317279cc4645c4c3eb1abde1 (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
{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";
}