guile-gnutls: init at 3.7.11

This commit is contained in:
Gabriel Arazas 2023-04-20 22:33:29 +08:00
parent 39e2454c14
commit 14b362eb22
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchurl
, gnutls
, guile
, libtool
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-gnutls";
version = "3.7.11";
src = fetchurl {
url = "mirror://gnu/gnutls/guile-gnutls-${version}.tar.gz";
hash = "sha256-BY6qXHY+Gfv5PotO78ESgPgHBTXBOMmb4R8AzWhWE98=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gnutls
guile
libtool
texinfo
];
configureFlags = [
"--with-guile-site-dir=${builtins.placeholder "out"}/share/guile/site"
"--with-guile-site-ccache-dir=${builtins.placeholder "out"}/share/guile/site"
"--with-guile-extension-dir=${builtins.placeholder "out"}/share/guile/extensions"
];
meta = with lib; {
homepage = "https://gitlab.com/gnutls/guile/";
description = "Guile bindings for GnuTLS library";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ foo-dogsquared ];
platforms = platforms.linux;
};
}

View file

@ -17171,6 +17171,8 @@ with pkgs;
guile-git = callPackage ../development/guile-modules/guile-git { };
guile-gnutls = callPackage ../development/guile-modules/guile-gnutls { };
guile-json = callPackage ../development/guile-modules/guile-json { };
guile-lib = callPackage ../development/guile-modules/guile-lib { };