504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
21 lines
586 B
Nix
21 lines
586 B
Nix
{ stdenv, lib, fetchurl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "astyle";
|
|
version = "3.4.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-b2fshytDe9PFHg914RLk2/2ybV+3vZz4pIDxCvVVcGM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Source code indenter, formatter, and beautifier for C, C++, C# and Java";
|
|
homepage = "https://astyle.sourceforge.net/";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ carlossless ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|