2022-02-22 06:57:54 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
2013-08-31 07:42:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-23 12:39:52 +00:00
|
|
|
pname = "uncrustify";
|
2022-12-30 01:22:38 +00:00
|
|
|
version = "0.76.0";
|
2013-08-31 07:42:20 +00:00
|
|
|
|
2016-11-18 22:45:35 +00:00
|
|
|
src = fetchFromGitHub {
|
2022-01-23 12:39:52 +00:00
|
|
|
owner = "uncrustify";
|
|
|
|
repo = "uncrustify";
|
|
|
|
rev = "uncrustify-${version}";
|
2022-12-30 01:22:38 +00:00
|
|
|
sha256 = "sha256-th3lp4WqqruHx2/ym3I041y2wLbYM1b+V6yXNOWuUvM=";
|
2013-08-31 07:42:20 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 06:57:54 +00:00
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
2016-11-18 22:45:35 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2013-08-31 07:42:20 +00:00
|
|
|
description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://uncrustify.sourceforge.net/";
|
2013-08-31 07:42:20 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-04-04 04:55:02 +00:00
|
|
|
platforms = platforms.unix;
|
2013-08-31 07:42:20 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|