2024-06-20 14:57:18 +00:00
|
|
|
{
|
|
|
|
fetchFromSourcehut,
|
|
|
|
hareHook,
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
unstableGitUpdater,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "hare-ev";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0-unstable-2024-01-04";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~sircmpwn";
|
|
|
|
repo = "hare-ev";
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = "736ab9bb17257ee5eba3bc96f6650fc4a14608ea";
|
|
|
|
hash = "sha256-SXExwDZKlW/2XYzmJUhkLWj6NF/znrv3vY9V0mD5iFQ=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
nativeCheckInputs = [ hareHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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 ];
|
2024-06-20 14:57:18 +00:00
|
|
|
inherit (hareHook.meta) platforms badPlatforms;
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|