2024-01-05 12:20:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, meson
|
|
|
|
, ninja
|
2024-01-06 11:10:54 +00:00
|
|
|
, inputs ? [ ]
|
2024-01-05 12:20:37 +00:00
|
|
|
}:
|
|
|
|
|
2024-05-10 08:46:01 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-01-05 12:20:37 +00:00
|
|
|
pname = "run-workflow-with-vm";
|
2024-05-17 12:48:07 +00:00
|
|
|
version = "2024-05-17";
|
2024-01-05 12:20:37 +00:00
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
mesonFlagsArray+=("-Dinputs=[${lib.concatStringsSep "," inputs}]")
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Quickly run workflow modules with a VM.";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2024-05-10 08:46:01 +00:00
|
|
|
mainProgram = finalAttrs.pname;
|
|
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
2024-01-05 12:20:37 +00:00
|
|
|
};
|
2024-05-10 08:46:01 +00:00
|
|
|
})
|