9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
23 lines
638 B
Nix
23 lines
638 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "uncrustify";
|
|
version = "0.77.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uncrustify";
|
|
repo = "uncrustify";
|
|
rev = "uncrustify-${version}";
|
|
sha256 = "sha256-9U6PTeU/LVFL9XzP9XSFjDx18CR3athThEz+h2+5qZ8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
|
|
meta = with lib; {
|
|
description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
|
|
homepage = "https://uncrustify.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|