2017-09-22 21:18:37 +02:00
|
|
|
{ callPackage, stdenv }:
|
|
|
|
|
|
|
|
let
|
2017-11-12 18:30:10 +01:00
|
|
|
stableVersion = "2.1.0";
|
|
|
|
previewVersion = "2.1.0rc4"; # == 2.1.0
|
2017-09-22 21:18:37 +02: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-11-12 18:30:10 +01:00
|
|
|
sha256Hash = "0fms8469daa8jhmsdqnadm18gc27g18q4m974wjfpz9n1rn78sjk";
|
2017-09-22 21:18:37 +02:00
|
|
|
};
|
|
|
|
guiPreview = mkGui {
|
|
|
|
stable = false;
|
2017-11-08 14:48:31 +01:00
|
|
|
sha256Hash = "10p8i45n6qsf431d0xpy5dk3g5qh6zdlnfj82jn9xdyccgxs4x3s";
|
2017-09-22 21:18:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
serverStable = mkServer {
|
|
|
|
stable = true;
|
2017-11-12 18:30:10 +01:00
|
|
|
sha256Hash = "1s66qnkhd9rqak13m57i266bgrk8f1ky2wxdha1jj0q9gxdsqa39";
|
2017-09-22 21:18:37 +02:00
|
|
|
};
|
|
|
|
serverPreview = mkServer {
|
|
|
|
stable = false;
|
2017-11-08 14:48:31 +01:00
|
|
|
sha256Hash = "1z8a3s90k86vmi4rwsd3v74gwvml68ci6f3zgxaji3z1sm22zcyd";
|
2017-09-22 21:18:37 +02:00
|
|
|
};
|
|
|
|
}
|