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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
637 B
Nix
Raw Normal View History

2022-02-22 06:57:54 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
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";
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=";
};
2022-02-22 06:57:54 +00:00
nativeBuildInputs = [ cmake python3 ];
2016-11-18 22:45:35 +00:00
meta = with 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 04:55:02 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}