nixpkgs/pkgs/by-name/gu/guile-gcrypt/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
991 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitea
, guile
, libgcrypt
, autoreconfHook
, pkg-config
, texinfo
}:
stdenv.mkDerivation rec {
pname = "guile-gcrypt";
2022-12-04 00:26:05 +00:00
version = "0.4.0";
src = fetchFromGitea {
domain = "notabug.org";
owner = "cwebber";
repo = "guile-gcrypt";
rev = "v${version}";
2022-12-04 00:26:05 +00:00
hash = "sha256-vbm31EsOJiMeTs2tu5KPXckxPcAQbi3/PGJ5EHCC5VQ=";
};
2023-10-22 00:36:18 +00:00
strictDeps = true;
nativeBuildInputs = [
2023-10-22 00:36:18 +00:00
autoreconfHook guile libgcrypt pkg-config texinfo
];
buildInputs = [
guile
];
propagatedBuildInputs = [
libgcrypt
];
2022-09-02 09:29:04 +00:00
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;
2023-12-04 23:47:11 +00:00
# In procedure bytevector-u8-ref: Argument 2 out of range
dontStrip = stdenv.hostPlatform.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 ];
2023-08-03 16:10:58 +00:00
platforms = guile.meta.platforms;
};
}