1{
2 fetchFromSourcehut,
3 hareHook,
4 harec,
5 lib,
6 stdenv,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "hare-json";
11 version = "0-unstable-2024-04-19";
12
13 src = fetchFromSourcehut {
14 owner = "~sircmpwn";
15 repo = "hare-json";
16 rev = "b6aeae96199607a1f3b4d437d5c99f821bd6a6b6";
17 hash = "sha256-mgUzHGXbaJdWm7qUn7mWdDUQBgbEjh42O+Lo0ok80Wo=";
18 };
19
20 nativeBuildInputs = [ hareHook ];
21
22 makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
23
24 doCheck = true;
25
26 meta = with lib; {
27 homepage = "https://git.sr.ht/~sircmpwn/hare-json/";
28 description = "This package provides JSON support for Hare";
29 license = with licenses; [ mpl20 ];
30 maintainers = with maintainers; [ starzation ];
31 inherit (harec.meta) platforms badPlatforms;
32 };
33})