mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
libgit2: 0.27.8 -> 0.28.4
* https://github.com/libgit2/libgit2/releases/tag/v0.28.0 * https://github.com/libgit2/libgit2/releases/tag/v0.28.1 * https://github.com/libgit2/libgit2/releases/tag/v0.28.2 * https://github.com/libgit2/libgit2/releases/tag/v0.28.3 * https://github.com/libgit2/libgit2/releases/tag/v0.28.4
This commit is contained in:
parent
a21c2fa3ea
commit
e8a766883f
@ -1,25 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, python3
|
||||
, zlib, libssh2, openssl, http-parser, curl
|
||||
, zlib, libssh2, openssl, http-parser
|
||||
, libiconv, Security
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgit2";
|
||||
version = "0.27.8";
|
||||
# keep the version in sync with pythonPackages.pygit2 and libgit2-glib
|
||||
version = "0.28.4";
|
||||
# keep the version in sync with python3.pkgs.pygit2 and libgit2-glib
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libgit2";
|
||||
repo = "libgit2";
|
||||
rev = "v${version}";
|
||||
sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
|
||||
sha256 = "171b25aym4q88bidc4c76y4l6jmdwifm3q9zjqsll0wjhlkycfy1";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
||||
|
||||
nativeBuildInputs = [ cmake python3 pkgconfig ];
|
||||
|
||||
buildInputs = [ zlib libssh2 openssl http-parser curl ]
|
||||
buildInputs = [ zlib libssh2 openssl http-parser ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
Loading…
Reference in New Issue
Block a user