hareThirdParty.hare-http: init at 0.26.0.0
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user