From d05ae51506657cc1e0e47a85e36f693065e745ed Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Tue, 29 Oct 2024 20:53:20 +0100 Subject: [PATCH] feat(pkg/h-m-m): add (for tim) --- pkgs/h-m-m.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/h-m-m.nix diff --git a/pkgs/h-m-m.nix b/pkgs/h-m-m.nix new file mode 100644 index 0000000..bb243fe --- /dev/null +++ b/pkgs/h-m-m.nix @@ -0,0 +1,22 @@ +{ + writeShellApplication, + fetchFromGitHub, + php, + ... +}: let + src = fetchFromGitHub { + owner = "nadrad"; + repo = "h-m-m"; + rev = "3b028e8"; + hash = "sha256-u/V2+Wjtq91/vmZoEgorPyO1/mRHQprJUucRyVSpuws="; + }; +in + writeShellApplication { + name = "h-m-m"; + runtimeInputs = [ + php + ]; + text = '' + php ${src}/h-m-m "$@" + ''; + }