diff --git a/pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix b/pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix index 095e39d6b4139..b55ff01269530 100644 --- a/pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix +++ b/pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix @@ -1,4 +1,9 @@ -{ fetchFromGitHub, libgit2, ... }: +{ + lib, + fetchFromGitHub, + libgit2, + ... +}: libgit2.overrideAttrs (oldAttrs: { pname = "romkatv_libgit2"; @@ -27,4 +32,6 @@ libgit2.overrideAttrs (oldAttrs: { # this is a heavy fork of the original libgit2 # the original checkPhase does not work for this fork doCheck = false; + + meta = lib.removeAttrs oldAttrs.meta [ "changelog" ]; }) diff --git a/pkgs/by-name/li/libgit2/package.nix b/pkgs/by-name/li/libgit2/package.nix index 20655c7b77e1d..bfac9149df061 100644 --- a/pkgs/by-name/li/libgit2/package.nix +++ b/pkgs/by-name/li/libgit2/package.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libgit2"; - version = "1.9.2"; + version = "1.9.3"; # also check the following packages for updates: python3Packages.pygit2 and libgit2-glib outputs = [ @@ -34,8 +34,8 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "libgit2"; repo = "libgit2"; - rev = "v${finalAttrs.version}"; - hash = "sha256-TCeEh8DpVoxpF/HkahxM3ONDjawAkIiMo6S7ogG3fLg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-nJrRdPs86oGNL4W2CJb16oSUgfzYr9A2i5sw9BAehME="; }; cmakeFlags = [ @@ -96,6 +96,7 @@ stdenv.mkDerivation (finalAttrs: { }; meta = { + changelog = "https://github.com/libgit2/libgit2/releases/tag/${finalAttrs.src.tag}"; description = "Linkable library implementation of Git that you can use in your application"; mainProgram = "git2"; homepage = "https://libgit2.org/";