2019-02-17 11:30:46 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
{
|
|
|
|
jobsets = pkgs.runCommand "spec.json" {}
|
|
|
|
''
|
|
|
|
cat > $out << EOF
|
|
|
|
{
|
|
|
|
"main": {
|
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
2019-02-19 20:47:44 +08:00
|
|
|
"description": "Main ARTIQ packages and board support packages for HITL CI",
|
2019-02-17 11:30:46 +08:00
|
|
|
"nixexprinput": "nixScripts",
|
|
|
|
"nixexprpath": "main.nix",
|
|
|
|
"checkinterval": 300,
|
|
|
|
"schedulingshares": 10,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-18.09", "emailresponsible": false },
|
2019-02-17 12:31:27 +08:00
|
|
|
"nixScripts": { "type": "git", "value": "git://github.com/m-labs/nix-scripts.git", "emailresponsible": false },
|
2019-02-17 11:30:46 +08:00
|
|
|
"artiqSrc": { "type": "git", "value": "git://github.com/m-labs/artiq.git master 1", "emailresponsible": false }
|
|
|
|
}
|
2019-02-17 12:31:27 +08:00
|
|
|
},
|
|
|
|
"sinara-systems": {
|
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
2019-02-19 20:47:44 +08:00
|
|
|
"description": "Board support packages for other Sinara systems",
|
2019-02-17 12:31:27 +08:00
|
|
|
"nixexprinput": "nixScripts",
|
|
|
|
"nixexprpath": "sinara-systems.nix",
|
|
|
|
"checkinterval": 86400,
|
|
|
|
"schedulingshares": 1,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-18.09", "emailresponsible": false },
|
|
|
|
"nixScripts": { "type": "git", "value": "git://github.com/m-labs/nix-scripts.git", "emailresponsible": false },
|
2019-02-17 12:36:32 +08:00
|
|
|
"sinaraSystemsSrc": { "type": "git", "value": "git://github.com/m-labs/sinara-systems.git master 1", "emailresponsible": false },
|
2019-02-17 12:31:27 +08:00
|
|
|
"m-labs": { "type": "sysbuild", "value": "artiq:main:generated-nix", "emailresponsible": false }
|
|
|
|
}
|
2019-03-22 16:26:44 +08:00
|
|
|
},
|
|
|
|
"adc2tcp": {
|
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
|
|
|
"description": "STM32 demo",
|
|
|
|
"nixexprinput": "adc2tcp",
|
2019-03-22 16:49:17 +08:00
|
|
|
"nixexprpath": "release.nix",
|
2019-03-22 16:26:44 +08:00
|
|
|
"checkinterval": 300,
|
|
|
|
"schedulingshares": 10,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-18.09", "emailresponsible": false },
|
|
|
|
"adc2tcp": { "type": "git", "value": "git://github.com/m-labs/adc2tcp.git", "emailresponsible": false }
|
|
|
|
}
|
2019-02-17 11:30:46 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|