1{ lib
2, stdenv
3, fetchFromGitea
4, guile
5, libgcrypt
6, autoreconfHook
7, pkg-config
8, texinfo
9}:
10
11stdenv.mkDerivation rec {
12 pname = "guile-gcrypt";
13 version = "0.4.0";
14
15 src = fetchFromGitea {
16 domain = "notabug.org";
17 owner = "cwebber";
18 repo = "guile-gcrypt";
19 rev = "v${version}";
20 hash = "sha256-vbm31EsOJiMeTs2tu5KPXckxPcAQbi3/PGJ5EHCC5VQ=";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook pkg-config texinfo
25 ];
26 buildInputs = [
27 guile
28 ];
29 propagatedBuildInputs = [
30 libgcrypt
31 ];
32 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
33 doCheck = true;
34
35 meta = with lib; {
36 description = "Bindings to Libgcrypt for GNU Guile";
37 homepage = "https://notabug.org/cwebber/guile-gcrypt";
38 license = licenses.gpl3Plus;
39 maintainers = with maintainers; [ ethancedwards8 ];
40 platforms = platforms.linux;
41 };
42}