mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
23 lines
614 B
Nix
23 lines
614 B
Nix
{ stdenv, lib, fetchurl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "astyle";
|
|
version = "3.4.14";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-YGqD85FGczGF9nYwWdKSQzxA85Prb1IELhY/jfThaj4=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|