nixpkgs/pkgs/development/tools/misc/uncrustify/default.nix

27 lines
679 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, python }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "uncrustify";
2020-05-24 14:03:25 +01:00
version = "0.71.0";
2016-11-18 22:45:35 +00:00
src = fetchFromGitHub {
owner = product;
repo = product;
rev = name;
2020-05-24 14:03:25 +01:00
sha256 = "1wyhkhn000yad94fnjj61h7lyvan6hig8wh7jxlnyp5wxdwki0pj";
};
nativeBuildInputs = [ cmake python ];
2016-11-18 22:45:35 +00:00
2017-11-17 22:50:00 +00:00
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;
2015-04-04 05:55:02 +01:00
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}