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