summary refs log tree commit diff
path: root/pkgs/by-name/gu/guile-sjson/package.nix
blob: 8f9b49f95e0620c816a8c983d22966aca195a356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, stdenv
, fetchFromGitLab
, autoreconfHook
, guile
, pkg-config
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "guile-sjson";
  version = "0.2.2";

  src = fetchFromGitLab {
    owner = "dustyweb";
    repo = "guile-sjson";
    rev = "v${finalAttrs.version}";
    hash = "sha256-MmnEZhJTbZDIO8vWVCoTt4rGbOjfPZQ3bqAGv4ei69o=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    autoreconfHook
    guile
    pkg-config
  ];

  buildInputs = [
    guile
  ];

  meta = with lib; {
    description = "S-expression based json reader/writer for Guile";
    homepage = "https://gitlab.com/dustyweb/guile-sjson";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ galaxy ];
    platforms = guile.meta.platforms;
  };
})