2017-09-22 19:18:37 +00:00
|
|
|
{ callPackage, stdenv }:
|
|
|
|
|
|
|
|
let
|
2017-12-23 10:40:43 +00:00
|
|
|
stableVersion = "2.1.1";
|
|
|
|
previewVersion = "2.1.1";
|
2017-09-22 19:18:37 +00:00
|
|
|
addVersion = args:
|
|
|
|
let version = if args.stable then stableVersion else previewVersion;
|
|
|
|
branch = if args.stable then "stable" else "preview";
|
|
|
|
in args // { inherit version branch; };
|
|
|
|
mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
|
|
|
|
mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
|
|
|
|
in {
|
|
|
|
guiStable = mkGui {
|
|
|
|
stable = true;
|
2017-12-23 10:40:43 +00:00
|
|
|
sha256Hash = "1iyp5k8z3y32rv8wq268dk92vms5vhhhijxphwvfndh743jaynyk";
|
2017-09-22 19:18:37 +00:00
|
|
|
};
|
|
|
|
guiPreview = mkGui {
|
|
|
|
stable = false;
|
2017-12-23 10:40:43 +00:00
|
|
|
sha256Hash = "1iyp5k8z3y32rv8wq268dk92vms5vhhhijxphwvfndh743jaynyk";
|
2017-09-22 19:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
serverStable = mkServer {
|
|
|
|
stable = true;
|
2017-12-23 10:40:43 +00:00
|
|
|
sha256Hash = "0d427p1g7misbryrn3yagpgxcjwiim39g11zzisw2744l116p7pv";
|
2017-09-22 19:18:37 +00:00
|
|
|
};
|
|
|
|
serverPreview = mkServer {
|
|
|
|
stable = false;
|
2017-12-23 10:40:43 +00:00
|
|
|
sha256Hash = "0d427p1g7misbryrn3yagpgxcjwiim39g11zzisw2744l116p7pv";
|
2017-09-22 19:18:37 +00:00
|
|
|
};
|
|
|
|
}
|