ahoviewer: add module

This commit is contained in:
Aguirre Matteo 2025-09-23 10:42:28 -03:00 committed by Austin Horstman
parent 9a2dc0efbc
commit 366b60b8a0
10 changed files with 177 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "plugin-a";
version = "1.0.0";
src = ./plugin-a;
buildPhase = ''
mkdir -p $out
cp $src/* $out/
'';
}

View file

@ -0,0 +1,13 @@
{
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "plugin-b";
version = "1.0.0";
src = ./plugin-b;
buildPhase = ''
mkdir -p $out
cp $src/* $out/
'';
}

View file

@ -0,0 +1,7 @@
[Plugin]
Module=plugin-a
Loader=python3
Name=Test
Description=Test
Hidden=false
X-ActionName=TestPlugin

View file

@ -0,0 +1 @@
print("Hello world")

View file

@ -0,0 +1,7 @@
[Plugin]
Module=plugin-b
Loader=python3
Name=Test
Description=Test
Hidden=false
X-ActionName=TestPlugin

View file

@ -0,0 +1 @@
print("Hello world")