forked from mirrors/nixpkgs
68106d9317
Also bumps the interally used version of libgit2.
20 lines
493 B
Nix
20 lines
493 B
Nix
{fetchFromGitHub, libgit2, ...}:
|
|
|
|
libgit2.overrideAttrs (oldAttrs: {
|
|
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 = "75be63625a0de418ec3551306362ee1e21034039";
|
|
sha256 = "1bwr1ahfxn1nn2f78ri91icxpv8xhpmgypcvg042cmcpm2qrahz9";
|
|
};
|
|
})
|