2022-02-15 23:12:36 +00:00
|
|
|
{ fetchFromGitHub, libgit2, ... }:
|
2019-05-08 02:47:04 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
libgit2.overrideAttrs (oldAttrs: {
|
2019-05-08 02:47:04 +01:00
|
|
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
2020-03-12 01:46:52 +00:00
|
|
|
"-DBUILD_CLAR=OFF"
|
|
|
|
"-DBUILD_SHARED_LIBS=OFF"
|
|
|
|
"-DREGEX_BACKEND=builtin"
|
2019-05-08 02:47:04 +01:00
|
|
|
"-DUSE_BUNDLED_ZLIB=ON"
|
2020-06-01 00:29:55 +01:00
|
|
|
"-DUSE_GSSAPI=OFF"
|
2020-03-12 01:46:52 +00:00
|
|
|
"-DUSE_HTTPS=OFF"
|
2022-02-15 23:12:36 +00:00
|
|
|
"-DUSE_HTTP_PARSER=builtin" # overwritten from libgit2
|
2020-06-01 00:29:55 +01:00
|
|
|
"-DUSE_NTLMCLIENT=OFF"
|
2019-05-08 02:47:04 +01:00
|
|
|
"-DUSE_SSH=OFF"
|
2020-03-12 01:46:52 +00:00
|
|
|
"-DZERO_NSEC=ON"
|
2019-05-08 02:47:04 +01:00
|
|
|
];
|
2022-02-15 23:12:36 +00:00
|
|
|
|
2019-05-08 02:47:04 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "romkatv";
|
|
|
|
repo = "libgit2";
|
2022-02-15 13:20:37 +00:00
|
|
|
rev = "tag-0ad3d776aa86dd607dc86dcd7f77ad3ed7ebec61";
|
|
|
|
sha256 = "sha256-mXCmspM3fqI14DF9sAIMH5vGdMMjWkdDjdME4EiQuqY=";
|
2019-05-08 02:47:04 +01:00
|
|
|
};
|
2022-02-15 23:12:36 +00:00
|
|
|
|
|
|
|
patches = [ ];
|
2019-05-08 02:47:04 +01:00
|
|
|
})
|