depot/third_party/nixpkgs/pkgs/development/hare-third-party/hare-ev/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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;
};
}