diff --git a/nix/pkg.nix b/nix/pkg.nix index a021fff3..322c4896 100644 --- a/nix/pkg.nix +++ b/nix/pkg.nix @@ -10,7 +10,7 @@ in { server = stdenv.mkDerivation rec { name = "docspell-server-${cfg.version}"; - src = fetchzip cfg.server; + src = fetchzip cfg.server; buildInputs = [ jre8 ]; diff --git a/nix/release.nix b/nix/release.nix index c94601ac..9f45812b 100644 --- a/nix/release.nix +++ b/nix/release.nix @@ -1,5 +1,20 @@ rec { cfg = { + v0_5_0 = rec { + version = "0.5.0"; + server = { + url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-restserver-${version}.zip"; + sha256 = "1cr1x5ncl8prrp50mip17filyh2g1hq4ycjq4h4zmaj1nlvzrfy5"; + }; + joex = { + url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-joex-${version}.zip"; + sha256 = "1pgkay99h59c2hnxhibrg8dy2j5bmlkv1hi18snccf7d304xl6w6"; + }; + tools = { + url = "https://github.com/eikek/docspell/releases/download/v${version}/docspell-tools-${version}.zip"; + sha256 = "1bqm3bwg4n2llbsipp9ydmlkk3hv0x0jx482x4jb98x0fjyipzyy"; + }; + }; v0_4_0 = rec { version = "0.4.0"; server = { @@ -62,7 +77,7 @@ rec { }; }; pkg = v: import ./pkg.nix v; - currentPkg = pkg cfg.v0_4_0; + currentPkg = pkg cfg.v0_5_0; module-joex = ./module-joex.nix; module-restserver = ./module-server.nix; module-consumedir = ./module-consumedir.nix;