f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
22 lines
613 B
Nix
22 lines
613 B
Nix
{ stdenv, lib, fetchurl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "astyle";
|
|
version = "3.5.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-2wwKctQOZAwgHjnmRni2/jFvN+fvBfZ84rItVVwKbRI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Source code indenter, formatter, and beautifier for C, C++, C# and Java";
|
|
mainProgram = "astyle";
|
|
homepage = "https://astyle.sourceforge.net/";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ carlossless ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|