depot/third_party/nixpkgs/pkgs/development/guile-modules/guile-gcrypt/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
978 B
Nix

{ lib
, stdenv
, fetchFromGitea
, guile
, libgcrypt
, autoreconfHook
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-gcrypt";
version = "0.4.0";
src = fetchFromGitea {
domain = "notabug.org";
owner = "cwebber";
repo = "guile-gcrypt";
rev = "v${version}";
hash = "sha256-vbm31EsOJiMeTs2tu5KPXckxPcAQbi3/PGJ5EHCC5VQ=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook guile libgcrypt pkg-config texinfo
];
buildInputs = [
guile
];
propagatedBuildInputs = [
libgcrypt
];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;
# In procedure bytevector-u8-ref: Argument 2 out of range
dontStrip = stdenv.isDarwin;
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 = guile.meta.platforms;
};
}