libgit2: 1.6.1 -> 1.6.2, add passthru.tests (#219996)
This commit is contained in:
parent
d4187810f9
commit
9db9800c5f
|
@ -12,18 +12,21 @@
|
||||||
, libiconv
|
, libiconv
|
||||||
, Security
|
, Security
|
||||||
, staticBuild ? stdenv.hostPlatform.isStatic
|
, staticBuild ? stdenv.hostPlatform.isStatic
|
||||||
|
# for passthru.tests
|
||||||
|
, libgit2-glib
|
||||||
|
, python3Packages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libgit2";
|
pname = "libgit2";
|
||||||
version = "1.6.1";
|
version = "1.6.2";
|
||||||
# also check the following packages for updates: python3.pkgs.pygit2 and libgit2-glib
|
# also check the following packages for updates: python3Packages.pygit2 and libgit2-glib
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libgit2";
|
owner = "libgit2";
|
||||||
repo = "libgit2";
|
repo = "libgit2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-W1MawEhkOOSoAEGdi2Ay+4wRo/bBPoh1HnwUxx9wHzA=";
|
hash = "sha256-XmGlh0iehQIufAPpndSkYy4EQ8vG0I6MGB+jQQpCe9k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -41,6 +44,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = false; # hangs. or very expensive?
|
doCheck = false; # hangs. or very expensive?
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit libgit2-glib;
|
||||||
|
inherit (python3Packages) pygit2;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Linkable library implementation of Git that you can use in your application";
|
description = "Linkable library implementation of Git that you can use in your application";
|
||||||
homepage = "https://libgit2.org/";
|
homepage = "https://libgit2.org/";
|
||||||
|
|
Loading…
Reference in a new issue