biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / uncrustify / default.nix
bloba8fef714cadacc7bc17ab3bc7fe9e6e392bd393b
1 { lib, stdenv, fetchFromGitHub, cmake, python3 }:
3 stdenv.mkDerivation rec {
4   pname = "uncrustify";
5   version = "0.78.1";
7   src = fetchFromGitHub {
8     owner = "uncrustify";
9     repo = "uncrustify";
10     rev = "uncrustify-${version}";
11     sha256 = "sha256-L+YEVZC7sIDYuCM3xpSfZLjA3B8XsW5hi+zV2NEgXTs=";
12   };
14   nativeBuildInputs = [ cmake python3 ];
16   meta = with lib; {
17     description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
18     mainProgram = "uncrustify";
19     homepage = "https://uncrustify.sourceforge.net/";
20     license = licenses.gpl2Plus;
21     platforms = platforms.unix;
22     maintainers = [ maintainers.bjornfor ];
23   };