From c23d73fffb7acf4bec986b6a493880fef2966233 Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Fri, 28 Feb 2020 21:18:10 +0100 Subject: [PATCH] Add new version to nix files --- nix/configuration-test.nix | 1 + nix/release.nix | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/nix/configuration-test.nix b/nix/configuration-test.nix index defb6470..94dc70bd 100644 --- a/nix/configuration-test.nix +++ b/nix/configuration-test.nix @@ -51,6 +51,7 @@ in networking = { hostName = "docspelltest"; + firewall.allowedTCPPorts = [7880]; }; system.stateVersion = "19.09"; diff --git a/nix/release.nix b/nix/release.nix index 2f5b3edf..9c3e0d44 100644 --- a/nix/release.nix +++ b/nix/release.nix @@ -1,5 +1,23 @@ rec { cfg = { + v0_3_0 = rec { + version = "0.3.0"; + server = { + #url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-restserver-${version}.zip"; + url = "http://eknet.org/temp/docspell-restserver-${version}.zip"; + sha256 = "0j942js8h5v7h64bsizylhf28a57y4lpwyl9nwqcg8n2vd059bz5"; + }; + joex = { + #url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-joex-${version}.zip"; + url = "http://eknet.org/temp/docspell-joex-${version}.zip"; + sha256 = "10rfj9ar5aj0hnis4j62k4d2d7pibgbph3qwj7mvn25p51dcfdvp"; + }; + tools = { + #url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-tools-${version}.zip"; + url = "http://eknet.org/temp/docspell-tools-${version}.zip"; + sha256 = "1swkmgxfg5rcs45x402gy7s1p40c4ff8hil5qvlx22p7ahwzr25m"; + }; + }; v0_2_0 = rec { version = "0.2.0"; server = { @@ -32,7 +50,7 @@ rec { }; }; pkg = v: import ./pkg.nix v; - currentPkg = pkg cfg.v0_2_0; + currentPkg = pkg cfg.v0_3_0; module-joex = ./module-joex.nix; module-restserver = ./module-server.nix; module-consumedir = ./module-consumedir.nix;