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";
|
|
|
|
rev = "aab6c56e6766fa752bef00c745067d875925fc89";
|
|
|
|
sha256 = "1yqqhpi5xi6s86411sixw4yq5c6n2v8pdh447c8b7q5lfc089lvl";
|
|
|
|
};
|
|
|
|
})
|