astyle: added initial version 2.02.1

svn path=/nixpkgs/trunk/; revision=31835
This commit is contained in:
Peter Simons 2012-01-25 13:52:18 +00:00
parent c0be721441
commit db98fa936b
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl }:
let
name = "astyle";
version = "2.02.1";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}_${version}_linux.tar.gz";
sha256 = "0bece9a32887e51f42c57617cf7c4f9b63d0a386749fe3a094f5525b639ef953";
};
sourceRoot = "astyle/build/gcc";
installFlags = "INSTALL=install prefix=$$out";
meta = {
homepage = "http://astyle.sourceforge.net/";
description = "source code reformatter";
license = "LGPL";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}

View File

@ -2853,6 +2853,8 @@ let
gcj = gcj.gcc; # use the raw GCJ, which has ${gcj}/lib/jvm
};
astyle = callPackage ../development/tools/misc/astyle { };
autobuild = callPackage ../development/tools/misc/autobuild { };
autoconf = callPackage ../development/tools/misc/autoconf { };