mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #293949 from TheRealKeto/update/editorconfig-core-c
editorconfig-core-c: 0.12.5 -> 0.12.7
This commit is contained in:
commit
a2a0f5f67d
1 changed files with 12 additions and 15 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue