Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 35 lines 789 B view raw
1{ 2 fetchFromSourcehut, 3 hareHook, 4 lib, 5 stdenv, 6 unstableGitUpdater, 7}: 8 9stdenv.mkDerivation { 10 pname = "hare-ev"; 11 version = "0-unstable-2024-07-07"; 12 13 src = fetchFromSourcehut { 14 owner = "~sircmpwn"; 15 repo = "hare-ev"; 16 rev = "aa01cdd0ba226ed9a4c5e6031e6aa7158aa05c9a"; 17 hash = "sha256-xq6d2+BbHk2iLg50mtqXqhkky/P9GeRAulSD7ouMnrA="; 18 }; 19 20 nativeCheckInputs = [ hareHook ]; 21 22 makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; 23 24 doCheck = true; 25 26 passthru.updateScript = unstableGitUpdater { }; 27 28 meta = with lib; { 29 description = "Event loop for Hare programs"; 30 homepage = "https://sr.ht/~sircmpwn/hare-ev"; 31 license = licenses.mpl20; 32 maintainers = with maintainers; [ colinsane ]; 33 inherit (hareHook.meta) platforms badPlatforms; 34 }; 35}