bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
33 lines
773 B
Nix
33 lines
773 B
Nix
{
|
|
fetchFromSourcehut,
|
|
hareHook,
|
|
harec,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hare-json";
|
|
version = "0-unstable-2023-03-13";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = "hare-json";
|
|
rev = "88256102a9fec62d494628e32cb406574e49e5e1";
|
|
hash = "sha256-Sx+RBiLhR3ftP89AwinVlBg0u0HX4GVP7TLmuofgC9s=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hareHook ];
|
|
|
|
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://git.sr.ht/~sircmpwn/hare-json/";
|
|
description = "This package provides JSON support for Hare";
|
|
license = with licenses; [ mpl20 ];
|
|
maintainers = with maintainers; [ starzation ];
|
|
inherit (harec.meta) platforms badPlatforms;
|
|
};
|
|
})
|