lol

editorconfig-core-c: 0.12.1 → 0.12.5

Ported to PCRE2.

https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.2
https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.3
https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.4
https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.5

+23 -6
+23 -6
pkgs/development/tools/misc/editorconfig-core-c/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pcre, doxygen }: 1 + { lib, stdenv, fetchpatch, fetchFromGitHub, cmake, pcre2, doxygen }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "editorconfig-core-c"; 5 - version = "0.12.1"; 5 + version = "0.12.5"; 6 + 7 + outputs = [ "out" "dev" ]; 6 8 7 9 src = fetchFromGitHub { 8 10 owner = "editorconfig"; 9 11 repo = "editorconfig-core-c"; 10 12 rev = "v${version}"; 11 - sha256 = "sha256-pFsbyqIt7okfaiOwlYN8EXm1SFlCUnsHVbOgyIZZlys="; 13 + sha256 = "sha256-4p8bomeXtA+zJ3IvWW0UZixdMnjYWYu7yeA6JUwwRb8="; 12 14 fetchSubmodules = true; 13 15 }; 14 16 15 - buildInputs = [ pcre ]; 16 - nativeBuildInputs = [ cmake doxygen ]; 17 + patches = [ 18 + # Fox broken paths in pkg-config. 19 + # https://github.com/editorconfig/editorconfig-core-c/pull/81 20 + (fetchpatch { 21 + url = "https://github.com/editorconfig/editorconfig-core-c/commit/e0ead79d3bb4179fe9bccd3e5598ed47cc0863a3.patch"; 22 + sha256 = "t/DiPVyyYoMwFpNG6sD+rLWHheFCbMaILXyey6inGdc="; 23 + }) 24 + ]; 25 + 26 + nativeBuildInputs = [ 27 + cmake 28 + doxygen 29 + ]; 30 + 31 + buildInputs = [ 32 + pcre2 33 + ]; 17 34 18 35 # Multiple doxygen can not generate man pages in the same base directory in 19 - # parallel: https://bugzilla.gnome.org/show_bug.cgi?id=791153 36 + # parallel: https://github.com/doxygen/doxygen/issues/6293 20 37 enableParallelBuilding = false; 21 38 22 39 meta = with lib; {