nixpkgs/pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix
2019-05-28 11:57:09 -04:00

20 lines
507 B
Nix

{fetchFromGitHub, libgit2_0_27, ...}:
libgit2_0_27.overrideAttrs (oldAttrs: rec {
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";
};
})