depot/third_party/nixpkgs/pkgs/development/hare-third-party/hare-ev/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
789 B
Nix

{
fetchFromSourcehut,
hareHook,
lib,
stdenv,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "hare-ev";
version = "0-unstable-2024-01-04";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-ev";
rev = "736ab9bb17257ee5eba3bc96f6650fc4a14608ea";
hash = "sha256-SXExwDZKlW/2XYzmJUhkLWj6NF/znrv3vY9V0mD5iFQ=";
};
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;
};
}