blob: de07152d248d5415d3061b6cb7eb57a478b34dae (
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
33
34
|
{
fetchFromSourcehut,
hareHook,
hareThirdParty,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hare-http";
version = "0.26.0.0";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-http";
tag = finalAttrs.version;
hash = "sha256-0NPLYuoAVvIiDH7d0KtJnmKX/C1ShdBZIo9w3EPsmkA=";
};
nativeBuildInputs = [ hareHook ];
propagatedBuildInputs = [ hareThirdParty.hare-ev ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
doCheck = true;
meta = {
homepage = "https://git.sr.ht/~sircmpwn/hare-http/";
description = "HTTP(s) support for Hare";
license = with lib.licenses; [ mpl20 ];
maintainers = with lib.maintainers; [ sikmir ];
inherit (hareHook.meta) platforms badPlatforms;
};
})
|