depot/third_party/nixpkgs/pkgs/by-name/gu/guile-json/package.nix

38 lines
747 B
Nix

{
lib,
stdenv,
fetchurl,
guile,
texinfo,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "guile-json";
version = "4.7.3";
src = fetchurl {
url = "mirror://savannah/guile-json/${pname}-${version}.tar.gz";
sha256 = "sha256-OLoEjtKdEvBbMsWy+3pReVxEi0HkA6Kxty/wA1gX84g=";
};
strictDeps = true;
nativeBuildInputs = [
guile
pkg-config
texinfo
];
buildInputs = [
guile
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
meta = with lib; {
description = "JSON Bindings for GNU Guile";
homepage = "https://savannah.nongnu.org/projects/guile-json";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ethancedwards8 ];
platforms = platforms.all;
};
}