159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
35 lines
789 B
Nix
35 lines
789 B
Nix
{
|
|
fetchFromSourcehut,
|
|
hareHook,
|
|
lib,
|
|
stdenv,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "hare-ev";
|
|
version = "0-unstable-2024-08-06";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = "hare-ev";
|
|
rev = "7de2b827e5e680e315697b97be142aebe71ec58f";
|
|
hash = "sha256-0RJqtYy3zGzy32WbR1pxsc3/B1VjUzJcVydqLxwmYSE=";
|
|
};
|
|
|
|
nativeCheckInputs = [ hareHook ];
|
|
|
|
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
|
|
|
|
doCheck = true;
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Event loop for Hare programs";
|
|
homepage = "https://sr.ht/~sircmpwn/hare-ev";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ colinsane ];
|
|
inherit (hareHook.meta) platforms badPlatforms;
|
|
};
|
|
}
|