nix-scripts/hydra/stm32.nix

30 lines
1.2 KiB
Nix
Raw Normal View History

2019-03-25 10:54:52 +08:00
{ pkgs ? import <nixpkgs> {}}:
{
jobsets = pkgs.runCommand "spec.json" {}
''
cat > $out << EOF
{
2019-06-01 10:35:01 +08:00
"stm32": {
2019-03-25 10:54:52 +08:00
"enabled": 1,
"hidden": false,
2019-06-01 10:35:01 +08:00
"description": "STM32 firmware",
"nixexprinput": "nixScripts",
"nixexprpath": "stm32.nix",
2019-03-25 10:54:52 +08:00
"checkinterval": 300,
"schedulingshares": 10,
"enableemail": false,
"emailoverride": "",
"keepnr": 10,
"inputs": {
2020-04-20 17:51:38 +08:00
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-20.03", "emailresponsible": false },
2019-06-01 10:35:01 +08:00
"mozillaOverlay": { "type": "git", "value": "git://github.com/mozilla/nixpkgs-mozilla.git", "emailresponsible": false },
"nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false },
"stabilizerSrc": { "type": "git", "value": "git://github.com/quartiq/stabilizer.git", "emailresponsible": false },
"thermostatSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/thermostat.git", "emailresponsible": false }
2019-03-25 10:54:52 +08:00
}
}
}
EOF
'';
}