mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
28 lines
657 B
Nix
28 lines
657 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
let
|
|
name = "astyle";
|
|
version = "2.04";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${name}/${name}_${version}_linux.tar.gz";
|
|
sha256 = "0q3b2579ng01glfwan75zcyvkggixdz9c4i6cgid2664ad47zcvh";
|
|
};
|
|
|
|
sourceRoot = "astyle/build/gcc";
|
|
|
|
installFlags = "INSTALL=install prefix=$$out";
|
|
|
|
meta = {
|
|
homepage = "http://astyle.sourceforge.net/";
|
|
description = "Source code indenter, formatter, and beautifier for C, C++, C# and Java";
|
|
license = "LGPL";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|