Merge pull request #293949 from TheRealKeto/update/editorconfig-core-c

editorconfig-core-c: 0.12.5 -> 0.12.7
This commit is contained in:
Sandro 2024-04-14 00:34:20 +02:00 committed by GitHub
commit a2a0f5f67d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,28 +1,25 @@
{ lib, stdenv, fetchpatch, fetchFromGitHub, cmake, pcre2, doxygen }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pcre2
, doxygen
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "editorconfig-core-c";
version = "0.12.5";
version = "0.12.7";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "editorconfig";
repo = "editorconfig-core-c";
rev = "v${version}";
sha256 = "sha256-4p8bomeXtA+zJ3IvWW0UZixdMnjYWYu7yeA6JUwwRb8=";
rev = "v${finalAttrs.version}";
hash = "sha256-uKukgQPKIx+zJPf08MTYEtoBiWeVcQmZnjWl4Zk9xaY=";
fetchSubmodules = true;
};
patches = [
# Fox broken paths in pkg-config.
# https://github.com/editorconfig/editorconfig-core-c/pull/81
(fetchpatch {
url = "https://github.com/editorconfig/editorconfig-core-c/commit/e0ead79d3bb4179fe9bccd3e5598ed47cc0863a3.patch";
sha256 = "t/DiPVyyYoMwFpNG6sD+rLWHheFCbMaILXyey6inGdc=";
})
];
nativeBuildInputs = [
cmake
doxygen
@ -53,4 +50,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
mainProgram = "editorconfig";
};
}
})