mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
24 lines
638 B
Nix
24 lines
638 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "uncrustify";
|
|
version = "0.78.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uncrustify";
|
|
repo = "uncrustify";
|
|
rev = "uncrustify-${version}";
|
|
sha256 = "sha256-L+YEVZC7sIDYuCM3xpSfZLjA3B8XsW5hi+zV2NEgXTs=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|