mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 07:26:54 +00:00
25 lines
626 B
Nix
25 lines
626 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${product}-${version}";
|
|
product = "uncrustify";
|
|
version = "0.64";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = product;
|
|
repo = product;
|
|
rev = name;
|
|
sha256 = "0gvgv44aqrh7cmj4ji8dpbhp47cklvajlc3s9d9z24x96dhp2v97";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
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 ];
|
|
};
|
|
}
|