From 64121103ec8253dce1c285ffd2b1e35f0351fe30 Mon Sep 17 00:00:00 2001 From: Colin Sane Date: Wed, 20 Dec 2023 00:29:04 +0000 Subject: hareThirdParty.hare-ev: init at unstable-2023-10-31 * hareThirdParty.hare-ev: init at unstable-2023-10-30 (#274505) --------- Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com> --- .../hare-third-party/hare-ev/default.nix | 39 ++++++++++++++++++++++ pkgs/top-level/hare-third-party.nix | 1 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/hare-third-party/hare-ev/default.nix diff --git a/pkgs/development/hare-third-party/hare-ev/default.nix b/pkgs/development/hare-third-party/hare-ev/default.nix new file mode 100644 index 0000000000000..2186c0eaf532d --- /dev/null +++ b/pkgs/development/hare-third-party/hare-ev/default.nix @@ -0,0 +1,39 @@ +{ stdenv +, lib +, fetchFromSourcehut +, hare +, unstableGitUpdater +}: + +stdenv.mkDerivation { + pname = "hare-ev"; + version = "unstable-2023-10-31"; + + src = fetchFromSourcehut { + owner = "~sircmpwn"; + repo = "hare-ev"; + rev = "9bdbd02401334b7d762131a46e64ca2cd24846dc"; + hash = "sha256-VY8nsy5kLDMScA2ig3Rgbkf6VQlCTnGWjzGvsI9OcaQ="; + }; + + nativeCheckInputs = [ + hare + ]; + + makeFlags = [ + "HARECACHE=.harecache" + "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 (hare.meta) platforms badPlatforms; + }; +} diff --git a/pkgs/top-level/hare-third-party.nix b/pkgs/top-level/hare-third-party.nix index ac2dc254e50da..ae3cbafda23f4 100644 --- a/pkgs/top-level/hare-third-party.nix +++ b/pkgs/top-level/hare-third-party.nix @@ -7,5 +7,6 @@ in { hare-compress = callPackage ../development/hare-third-party/hare-compress { }; + hare-ev = callPackage ../development/hare-third-party/hare-ev { }; hare-json = callPackage ../development/hare-third-party/hare-json { }; }) -- cgit 1.4.1