Merge pull request #189421 from foo-dogsquared/update-guile-gcrypt

This commit is contained in:
Sandro 2022-10-09 12:22:27 +02:00 committed by GitHub
commit 63a937e54b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 22 deletions

View File

@ -20,11 +20,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lAaiKBOdTFWEWsmwKgx0C67ACvtnEKUxti66dslzSVQ=";
};
postConfigure = ''
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
'';
nativeBuildInputs = [
autoreconfHook pkg-config texinfo
];
@ -34,6 +29,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
libgcrypt
];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;
meta = with lib; {
description = "Bindings to Libgcrypt for GNU Guile";

View File

@ -20,11 +20,6 @@ stdenv.mkDerivation rec {
sha256 = "x6apF9fmwzrkyzAexKjClOTFrbE31+fVhSLyFZkKRYU=";
};
postConfigure = ''
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
'';
nativeBuildInputs = [
autoreconfHook pkg-config texinfo
];
@ -34,9 +29,16 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
libgit2 scheme-bytestructures
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
enableParallelBuilding = true;
# Skipping proxy tests since it requires network access.
postConfigure = ''
sed -i -e '94i (test-skip 1)' ./tests/proxy.scm
'';
meta = with lib; {
description = "Bindings to Libgit2 for GNU Guile";
homepage = "https://gitlab.com/guile-git/guile-git";

View File

@ -15,19 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lCq37FtAhWeZwMqfuBkhrxf8Q2CuvvHMjLH2rZIg1Rk=";
};
postConfigure = ''
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site/json%' json/Makefile;
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache/json%' json/Makefile;
'';
nativeBuildInputs = [
pkg-config texinfo
];
buildInputs = [
guile
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
meta = with lib; {
description = "JSON Bindings for GNU Guile";

View File

@ -17,11 +17,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4=";
};
postConfigure = ''
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
'';
nativeBuildInputs = [
autoreconfHook pkg-config
];
@ -29,6 +24,9 @@ stdenv.mkDerivation rec {
guile
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
meta = with lib; {
description = "Structured access to bytevector contents";
homepage = "https://github.com/TaylanUB/scheme-bytestructures";