2016-11-18 23:45:35 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2013-08-31 09:42:20 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-14 17:18:17 +02:00
|
|
|
name = "${product}-${version}";
|
|
|
|
product = "uncrustify";
|
2016-11-18 23:45:35 +01:00
|
|
|
version = "0.64";
|
2013-08-31 09:42:20 +02:00
|
|
|
|
2016-11-18 23:45:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = product;
|
|
|
|
repo = product;
|
|
|
|
rev = name;
|
|
|
|
sha256 = "0gvgv44aqrh7cmj4ji8dpbhp47cklvajlc3s9d9z24x96dhp2v97";
|
2013-08-31 09:42:20 +02:00
|
|
|
};
|
|
|
|
|
2016-11-18 23:45:35 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2013-08-31 09:42:20 +02:00
|
|
|
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;
|
2015-04-04 06:55:02 +02:00
|
|
|
platforms = platforms.unix;
|
2013-08-31 09:42:20 +02:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|