2019-06-17 08:47:10 +01: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 ++ [
|
|
|
|
"-DUSE_BUNDLED_ZLIB=ON"
|
|
|
|
"-DUSE_ICONV=OFF"
|
|
|
|
"-DBUILD_CLAR=OFF"
|
|
|
|
"-DUSE_SSH=OFF"
|
|
|
|
"-DUSE_HTTPS=OFF"
|
|
|
|
"-DBUILD_SHARED_LIBS=OFF"
|
|
|
|
"-DUSE_EXT_HTTP_PARSER=OFF"
|
|
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "romkatv";
|
|
|
|
repo = "libgit2";
|
2019-12-24 11:15:41 +00:00
|
|
|
rev = "75be63625a0de418ec3551306362ee1e21034039";
|
|
|
|
sha256 = "1bwr1ahfxn1nn2f78ri91icxpv8xhpmgypcvg042cmcpm2qrahz9";
|
2019-05-08 02:47:04 +01:00
|
|
|
};
|
|
|
|
})
|