From f809786caf4b6f2a8ec5ce3b9feda19f93cdfa52 Mon Sep 17 00:00:00 2001 From: xenia Date: Wed, 13 Nov 2024 16:12:05 -0500 Subject: [PATCH] pkgs: add eta(1) --- overlay.nix | 2 ++ pkgs/cmdline/eta/default.nix | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/cmdline/eta/default.nix diff --git a/overlay.nix b/overlay.nix index d393b55..e585eb0 100644 --- a/overlay.nix +++ b/overlay.nix @@ -37,4 +37,6 @@ final: prev: { mkNginxServer = prev.callPackage ./lib/dev-nginx {}; rbasefind = prev.callPackage ./pkgs/rust/rbasefind {}; + + eta = prev.callPackage ./pkgs/cmdline/eta {}; } diff --git a/pkgs/cmdline/eta/default.nix b/pkgs/cmdline/eta/default.nix new file mode 100644 index 0000000..96b4049 --- /dev/null +++ b/pkgs/cmdline/eta/default.nix @@ -0,0 +1,18 @@ +{ + fetchFromGitHub, + stdenv, +}: +stdenv.mkDerivation { + pname = "eta"; + version = "git"; + src = fetchFromGitHub { + owner = "aioobe"; + repo = "eta"; + rev = "938f16bd088ce3d2a6f1bafbcdfd9a60d4d671ea"; + hash = "sha256-rTXy1K4oDM1/NC6qpunDlyrEFyk93hkowrriuXODCMg="; + }; + PREFIX = ""; + installPhase = '' + make DESTDIR="$out" install + ''; +}