nixpkgs/pkgs/development/tools/build-managers/scons/default.nix
Peter Simons a16eebd0a6 Cosmetic, no functional change intended.
This patch moves curly braces to the end of the line, i.e.

  foo = { 
    ...
  };

instead of the previously used style:

  foo = 
  { 
    ...
  };

I commit this change hoping that my contributions to this project now conform
to the rules described in maintainers/docs/coding-conventions.txt so that the
self-appointed indention sheriff of the NixOS community can finally get off my
back and rest assured knowing that all i's are dotted and all t's are crossed.

svn path=/nixpkgs/trunk/; revision=12386
2008-07-18 20:11:25 +00:00

25 lines
900 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";
}