mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
23 lines
542 B
Nix
23 lines
542 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 ];
|
|
};
|
|
})
|