depot/third_party/nixpkgs/pkgs/by-name/gu/guile-sjson/package.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

39 lines
747 B
Nix

{ 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;
};
})