Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
39 lines
747 B
Nix
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;
|
|
};
|
|
})
|