mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
Changelog: https://github.com/libgit2/libgit2/releases/tag/v1.9.3 Diff: https://github.com/libgit2/libgit2/compare/v1.9.2...v1.9.3
38 lines
818 B
Nix
38 lines
818 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
libgit2,
|
|
...
|
|
}:
|
|
|
|
libgit2.overrideAttrs (oldAttrs: {
|
|
pname = "romkatv_libgit2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "romkatv";
|
|
repo = "libgit2";
|
|
rev = "tag-2ecf33948a4df9ef45a66c68b8ef24a5e60eaac6";
|
|
hash = "sha256-Bm3Gj9+AhNQMvkIqdrTkK5D9vrZ1qq6CS8Wrn9kfKiw=";
|
|
};
|
|
|
|
patches = [ ];
|
|
|
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
|
"-DBUILD_CLAR=OFF"
|
|
"-DBUILD_SHARED_LIBS=OFF"
|
|
"-DREGEX_BACKEND=builtin"
|
|
"-DUSE_GSSAPI=OFF"
|
|
"-DUSE_HTTPS=OFF"
|
|
"-DUSE_HTTP_PARSER=builtin" # overwritten from libgit2
|
|
"-DUSE_NTLMCLIENT=OFF"
|
|
"-DUSE_SSH=OFF"
|
|
"-DZERO_NSEC=ON"
|
|
];
|
|
|
|
# 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" ];
|
|
})
|