2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, guile
|
|
|
|
, texinfo
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-json";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "4.7.3";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/guile-json/${pname}-${version}.tar.gz";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-OLoEjtKdEvBbMsWy+3pReVxEi0HkA6Kxty/wA1gX84g=";
|
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
|
|
|
guile pkg-config texinfo
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
doCheck = true;
|
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "JSON Bindings for GNU Guile";
|
|
|
|
homepage = "https://savannah.nongnu.org/projects/guile-json";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
2022-06-16 17:23:12 +00:00
|
|
|
platforms = platforms.all;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|