2019-02-17 11:30:46 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
{
|
|
|
|
jobsets = pkgs.runCommand "spec.json" {}
|
|
|
|
''
|
|
|
|
cat > $out << EOF
|
|
|
|
{
|
2019-07-17 19:19:43 +08:00
|
|
|
"fast": {
|
2019-02-17 11:30:46 +08:00
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
2019-07-17 19:19:43 +08:00
|
|
|
"description": "Core ARTIQ packages to build fast for CI purposes",
|
2019-02-17 11:30:46 +08:00
|
|
|
"nixexprinput": "nixScripts",
|
2019-07-17 19:19:43 +08:00
|
|
|
"nixexprpath": "artiq-fast.nix",
|
2019-02-17 11:30:46 +08:00
|
|
|
"checkinterval": 300,
|
|
|
|
"schedulingshares": 10,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
2019-04-12 16:57:30 +08:00
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
|
2019-04-18 22:30:22 +08:00
|
|
|
"nixScripts": { "type": "git", "value": "https://git.m-labs.hk/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
|
|
|
},
|
2019-07-17 19:19:43 +08:00
|
|
|
"full": {
|
2019-02-17 12:31:27 +08:00
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
2019-07-17 19:19:43 +08:00
|
|
|
"description": "Full set of ARTIQ packages",
|
2019-02-17 12:31:27 +08:00
|
|
|
"nixexprinput": "nixScripts",
|
2019-07-17 19:19:43 +08:00
|
|
|
"nixexprpath": "artiq-full.nix",
|
2019-02-17 12:31:27 +08:00
|
|
|
"checkinterval": 86400,
|
|
|
|
"schedulingshares": 1,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
2019-04-12 16:57:30 +08:00
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
|
2019-04-18 22:30:22 +08:00
|
|
|
"nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false },
|
2019-05-07 15:58:33 +08:00
|
|
|
"sinaraSystemsSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/sinara-systems.git master 1", "emailresponsible": false },
|
2019-07-17 19:26:55 +08:00
|
|
|
"artiq-fast": { "type": "sysbuild", "value": "artiq:fast:generated-nix", "emailresponsible": false }
|
2019-02-17 12:31:27 +08:00
|
|
|
}
|
2019-07-03 23:01:31 +08:00
|
|
|
},
|
|
|
|
"urukul": {
|
|
|
|
"enabled": 1,
|
|
|
|
"hidden": false,
|
|
|
|
"description": "Urukul CPLD gateware",
|
|
|
|
"nixexprinput": "nixScripts",
|
|
|
|
"nixexprpath": "urukul.nix",
|
|
|
|
"checkinterval": 172800,
|
|
|
|
"schedulingshares": 1,
|
|
|
|
"enableemail": false,
|
|
|
|
"emailoverride": "",
|
|
|
|
"keepnr": 10,
|
|
|
|
"inputs": {
|
|
|
|
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
|
|
|
|
"nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false },
|
|
|
|
"urukulSrc": { "type": "git", "value": "git://github.com/quartiq/urukul", "emailresponsible": false }
|
|
|
|
}
|
2019-02-17 11:30:46 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|