hareThirdParty.hare-http: init at 0.26.0.0

This commit is contained in:
Nikolay Korotkiy
2026-03-01 15:38:35 +04:00
parent acde0c2cff
commit f5c692d0b0
2 changed files with 35 additions and 0 deletions
+34
View File
@@ -0,0 +1,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;
};
})
+1
View File
@@ -8,6 +8,7 @@ lib.makeScope newScope (
{
hare-compress = callPackage ../development/hare-third-party/hare-compress { };
hare-ev = callPackage ../development/hare-third-party/hare-ev { };
hare-http = callPackage ../development/hare-third-party/hare-http { };
hare-json = callPackage ../development/hare-third-party/hare-json { };
hare-ssh = callPackage ../development/hare-third-party/hare-ssh { };
hare-toml = callPackage ../development/hare-third-party/hare-toml { };