depot/third_party/nixpkgs/pkgs/development/hare-third-party/hare-ev/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
789 B
Nix

{
fetchFromSourcehut,
hareHook,
lib,
stdenv,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "hare-ev";
version = "0-unstable-2024-07-07";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-ev";
rev = "aa01cdd0ba226ed9a4c5e6031e6aa7158aa05c9a";
hash = "sha256-xq6d2+BbHk2iLg50mtqXqhkky/P9GeRAulSD7ouMnrA=";
};
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;
};
}