2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitea
|
|
|
|
, guile
|
|
|
|
, libgcrypt
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, texinfo
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-gcrypt";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.4.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "notabug.org";
|
|
|
|
owner = "cwebber";
|
|
|
|
repo = "guile-gcrypt";
|
|
|
|
rev = "v${version}";
|
2022-12-17 10:02:37 +00:00
|
|
|
hash = "sha256-vbm31EsOJiMeTs2tu5KPXckxPcAQbi3/PGJ5EHCC5VQ=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
strictDeps = true;
|
2021-06-28 23:13:55 +00:00
|
|
|
nativeBuildInputs = [
|
2023-11-16 04:20:00 +00:00
|
|
|
autoreconfHook guile libgcrypt pkg-config texinfo
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libgcrypt
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
doCheck = true;
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
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-04 22:07:22 +00:00
|
|
|
platforms = guile.meta.platforms;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|