mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
bd0dbed3ff
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/uncrustify/versions. These checks were done: - built on NixOS - /nix/store/k96qsfrnrv7wdps9i46pbfzwm4n0ml0x-uncrustify-0.67/bin/uncrustify passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 0.67 with grep in /nix/store/k96qsfrnrv7wdps9i46pbfzwm4n0ml0x-uncrustify-0.67 - directory tree listing: https://gist.github.com/71da32610fd0c4196f8b0f19061ca051 - du listing: https://gist.github.com/6af9737f25aad6d34b2ee37f3d3a056e
27 lines
660 B
Nix
27 lines
660 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${product}-${version}";
|
|
product = "uncrustify";
|
|
version = "0.67";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = product;
|
|
repo = product;
|
|
rev = name;
|
|
sha256 = "0hf8c93aj1hjg6cc77x6p7nf7ddp8mn4b6a9gpcrvmx8w81afpd3";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|