nixpkgs/pkgs/development/tools/misc/astyle/default.nix
Peter Simons db98fa936b astyle: added initial version 2.02.1
svn path=/nixpkgs/trunk/; revision=31835
2012-01-25 13:52:18 +00:00

28 lines
623 B
Nix

{ 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 ];
};
}