blob: 963158a6fbf8ec08d98344dc1d5118e856690aad (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
|
{
fetchFromGitea,
hareHook,
lib,
nix-update-script,
scdoc,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hare-toml";
version = "0.1.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "lunacb";
repo = "hare-toml";
rev = "v${finalAttrs.version}";
hash = "sha256-r8T7Gy9c5polP+R12q0QRy4075nfGssDnNPQ8ARx/0M=";
};
nativeBuildInputs = [
scdoc
hareHook
];
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
checkTarget = "check_local";
doCheck = true;
dontConfigure = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "A TOML implementation for Hare";
homepage = "https://codeberg.org/lunacb/hare-toml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onemoresuza ];
inherit (hareHook.meta) platforms badPlatforms;
};
})
|