Merge pull request #304534 from sheepforce/mo

mo: init at 3.5.0
This commit is contained in:
Markus Kowalewski 2024-04-30 09:40:24 +00:00 committed by GitHub
commit 7cc549772d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,36 @@
{ stdenv
, lib
, fetchFromGitHub
, runtimeShell
}:
stdenv.mkDerivation rec {
pname = "mo";
version = "3.0.5";
src = fetchFromGitHub {
owner = "tests-always-included";
repo = pname;
rev = version;
hash = "sha256-CFAvTpziKzSkdomvCf8PPXYbYcJxjB4EValz2RdD2b0=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp mo $out/bin/.
runHook postInstall
'';
meta = with lib; {
description = "Moustache templates for Bash";
homepage = "https://github.com/tests-always-included/mo";
license = licenses.mit;
maintainers = with maintainers; [ sheepforce ];
};
}