2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 01:24:47 +00:00
nixpkgs/pkgs/by-name/un/uncrustify/package.nix

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

25 lines
670 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";
2024-11-15 16:39:46 +00:00
version = "0.80.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}";
2024-11-15 16:39:46 +00:00
sha256 = "sha256-1W4g9ISMVwmc0efa6loFtyqsHNm0kwR+NVKE8eB/jEA=";
};
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";
mainProgram = "uncrustify";
homepage = "https://uncrustify.sourceforge.net/";
license = licenses.gpl2Plus;
2015-04-04 04:55:02 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}