mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
31 lines
556 B
Nix
31 lines
556 B
Nix
{ stdenv
|
|
, lib
|
|
, meson
|
|
, ninja
|
|
, inputs ? [ ]
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "run-workflow-with-vm";
|
|
version = "2024-05-17";
|
|
|
|
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;
|
|
mainProgram = finalAttrs.pname;
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
|
};
|
|
})
|