Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion pkgs/by-name/gi/gitstatus/romkatv_libgit2.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ fetchFromGitHub, libgit2, ... }:
{
lib,
fetchFromGitHub,
libgit2,
...
}:

libgit2.overrideAttrs (oldAttrs: {
pname = "romkatv_libgit2";
Expand Down Expand Up @@ -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" ];
})
7 changes: 4 additions & 3 deletions pkgs/by-name/li/libgit2/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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 = [
Expand Down Expand Up @@ -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/";
Expand Down
Loading