Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 638 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, python3 }: 2 3stdenv.mkDerivation rec { 4 pname = "uncrustify"; 5 version = "0.77.1"; 6 7 src = fetchFromGitHub { 8 owner = "uncrustify"; 9 repo = "uncrustify"; 10 rev = "uncrustify-${version}"; 11 sha256 = "sha256-9U6PTeU/LVFL9XzP9XSFjDx18CR3athThEz+h2+5qZ8="; 12 }; 13 14 nativeBuildInputs = [ cmake python3 ]; 15 16 meta = with lib; { 17 description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA"; 18 homepage = "https://uncrustify.sourceforge.net/"; 19 license = licenses.gpl2Plus; 20 platforms = platforms.unix; 21 maintainers = [ maintainers.bjornfor ]; 22 }; 23}