2012-01-25 14:52:18 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "astyle";
|
2013-12-15 10:04:24 +01:00
|
|
|
version = "2.04";
|
2012-01-25 14:52:18 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${name}/${name}_${version}_linux.tar.gz";
|
2013-12-15 10:04:24 +01:00
|
|
|
sha256 = "0q3b2579ng01glfwan75zcyvkggixdz9c4i6cgid2664ad47zcvh";
|
2012-01-25 14:52:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "astyle/build/gcc";
|
|
|
|
|
|
|
|
installFlags = "INSTALL=install prefix=$$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://astyle.sourceforge.net/";
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Source code indenter, formatter, and beautifier for C, C++, C# and Java";
|
2012-01-25 14:52:18 +01:00
|
|
|
license = "LGPL";
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
}
|