2024-06-20 14:57:18 +00:00
|
|
|
{
|
|
|
|
fetchFromSourcehut,
|
|
|
|
hareHook,
|
|
|
|
harec,
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
}:
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "hare-json";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0-unstable-2024-04-19";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~sircmpwn";
|
|
|
|
repo = "hare-json";
|
2024-07-27 06:49:29 +00:00
|
|
|
rev = "b6aeae96199607a1f3b4d437d5c99f821bd6a6b6";
|
|
|
|
hash = "sha256-mgUzHGXbaJdWm7qUn7mWdDUQBgbEjh42O+Lo0ok80Wo=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
nativeBuildInputs = [ hareHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|