6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
23 lines
637 B
Nix
23 lines
637 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "uncrustify";
|
|
version = "0.76.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uncrustify";
|
|
repo = "uncrustify";
|
|
rev = "uncrustify-${version}";
|
|
sha256 = "sha256-th3lp4WqqruHx2/ym3I041y2wLbYM1b+V6yXNOWuUvM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
|
|
meta = with lib; {
|
|
description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
|
|
homepage = "http://uncrustify.sourceforge.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|