diff options
author | Keto <therealketo@gmail.com> | 2024-04-13 17:53:00 -0400 |
---|---|---|
committer | Keto <therealketo@gmail.com> | 2024-04-13 17:53:00 -0400 |
commit | e2cd8a7a2b1f508fedbfebfacd03a3036f32ac88 (patch) | |
tree | 11adb9520870ebc25177bca73c54b0150f076d0a | |
parent | f945939fd679284d736112d3d5410eb867f3b31c (diff) |
editorconfig-core-c: 0.12.5 -> 0.12.7
-rw-r--r-- | pkgs/development/tools/misc/editorconfig-core-c/default.nix | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/pkgs/development/tools/misc/editorconfig-core-c/default.nix b/pkgs/development/tools/misc/editorconfig-core-c/default.nix index f46e840276ff9..54ab03de2e2b6 100644 --- a/pkgs/development/tools/misc/editorconfig-core-c/default.nix +++ b/pkgs/development/tools/misc/editorconfig-core-c/default.nix @@ -1,28 +1,25 @@ -{ lib, stdenv, fetchpatch, fetchFromGitHub, cmake, pcre2, doxygen }: - -stdenv.mkDerivation rec { +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pcre2 +, doxygen +}: + +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"; }; -} +}) |