at 23.11-beta 21 lines 586 B view raw
1{ stdenv, lib, fetchurl, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "astyle"; 5 version = "3.4.10"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; 9 hash = "sha256-b2fshytDe9PFHg914RLk2/2ybV+3vZz4pIDxCvVVcGM="; 10 }; 11 12 nativeBuildInputs = [ cmake ]; 13 14 meta = with lib; { 15 description = "Source code indenter, formatter, and beautifier for C, C++, C# and Java"; 16 homepage = "https://astyle.sourceforge.net/"; 17 license = licenses.lgpl3; 18 maintainers = with maintainers; [ carlossless ]; 19 platforms = platforms.unix; 20 }; 21}