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
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, python3
|
||||||
, zlib, libssh2, openssl, http-parser, curl
|
, zlib, libssh2, openssl, http-parser
|
||||||
, libiconv, Security
|
, libiconv, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libgit2";
|
pname = "libgit2";
|
||||||
version = "0.27.8";
|
version = "0.28.4";
|
||||||
# keep the version in sync with pythonPackages.pygit2 and libgit2-glib
|
# keep the version in sync with python3.pkgs.pygit2 and libgit2-glib
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libgit2";
|
owner = "libgit2";
|
||||||
repo = "libgit2";
|
repo = "libgit2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
|
sha256 = "171b25aym4q88bidc4c76y4l6jmdwifm3q9zjqsll0wjhlkycfy1";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python3 pkgconfig ];
|
nativeBuildInputs = [ cmake python3 pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ zlib libssh2 openssl http-parser curl ]
|
buildInputs = [ zlib libssh2 openssl http-parser ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user