guile-gcrypt: init at 0.2.1 (#126645)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Ethan Edwards 2021-06-18 09:56:38 -04:00 committed by GitHub
parent d1ac06b009
commit 33d42ad7cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, stdenv
, fetchFromGitea
, guile
, libgcrypt
, autoreconfHook
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-gcrypt";
version = "0.2.1";
src = fetchFromGitea {
domain = "notabug.org";
owner = "cwebber";
repo = "guile-gcrypt";
rev = "v${version}";
sha256 = "LKXIwO8v/T/h1JKARWD5ta57sgRcVu7hcYYwr3wUQ1g=";
};
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
];
buildInputs = [
guile
];
propagatedBuildInputs = [
libgcrypt
];
meta = with lib; {
description = "Bindings to Libgcrypt for GNU Guile";
homepage = "https://notabug.org/cwebber/guile-gcrypt";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ethancedwards8 ];
platforms = platforms.linux;
};
}

View file

@ -12678,6 +12678,8 @@ in
guile-fibers = callPackage ../development/guile-modules/guile-fibers { };
guile-gcrypt = callPackage ../development/guile-modules/guile-gcrypt { };
guile-git = callPackage ../development/guile-modules/guile-git { };
guile-gnome = callPackage ../development/guile-modules/guile-gnome {