add yammat

This commit is contained in:
Astro 2019-09-12 03:29:00 +02:00
parent 523bf01e7f
commit 2efbc209cc
2 changed files with 40 additions and 0 deletions

View File

@ -30,6 +30,37 @@ let
};
};
};
yammat = {
enabled = 1;
hidden = false;
description = "Matemat by nek0";
nixexprinput = "hydra-config";
nixexprpath = "yammat.nix";
checkinterval = 300;
schedulingshares = 100;
enableemail = true;
emailoverride = "nek0@nek0.eu";
keepnr = 3;
inputs = {
yammat = {
type = "git";
value = "https://github.com/nek0/yammat.git master 1";
emailresponsible = false;
};
hydra-config = {
type = "git";
value = "https://gitea.c3d2.de/C3D2/hydra-config.git master 1";
emailresponsible = false;
};
nixpkgs = {
type = "git";
value = "git://github.com/NixOS/nixpkgs.git release-19.03";
emailresponsible = false;
};
};
};
};
jobsetsJson = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets );

9
yammat.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> {}
}:
with pkgs;
let
yammat = haskellPackages.callPackage <yammat> {};
jobs = {
inherit yammat;
};
in builtins.mapAttrs (name: lib.hydraJob) jobs