94616d766f
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1/bin/uncrustify -h` got 0 exit code - ran `/nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1/bin/uncrustify --help` got 0 exit code - ran `/nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1/bin/uncrustify -v` and found version 0.66.1 - ran `/nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1/bin/uncrustify --version` and found version 0.66.1 - found 0.66.1 with grep in /nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1 - found 0.66.1 in filename of file in /nix/store/bg2nls3ahz6jd32nxdaax1akz2hjh8ma-uncrustify-0.66.1 cc "@bjornfor"
26 lines
662 B
Nix
26 lines
662 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${product}-${version}";
|
|
product = "uncrustify";
|
|
version = "0.66.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = product;
|
|
repo = product;
|
|
rev = name;
|
|
sha256 = "1y69b0g07ksynf1fwfh5qqwmscxfbvs1yi3n3lbdd4vplb9zakyx";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|