feat(pkg/h-m-m): add (for tim)
This commit is contained in:
parent
fb56d091b5
commit
d05ae51506
22
pkgs/h-m-m.nix
Normal file
22
pkgs/h-m-m.nix
Normal file
|
@ -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 "$@"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue