gotify-server: 2.0.4 -> 2.0.5

Improved update script / procedure by getting all versions and shas
needed to build it.
This commit is contained in:
Doron Behar
2020-04-27 16:56:50 +03:00
parent eeb4e522b5
commit fbb9bcaef4
9 changed files with 149 additions and 133 deletions
+5 -5
View File
@@ -10,18 +10,18 @@
buildGoModule rec {
pname = "gotify-server";
# Note that when this is updated, along with the hash, the `ui.nix` file
# should include the same changes to the version and the sha256.
version = "2.0.14";
# should be update just like all other files imported like that via the
# `update.sh` script.
version = import ./version.nix;
src = fetchFromGitHub {
owner = "gotify";
repo = "server";
rev = "v${version}";
sha256 = "0hyy9fki2626cgd78l7fkk67lik6g1pkcpf6xr3gl07dxwcclyr8";
sha256 = import ./source-sha.nix;
};
modSha256 = "1awhbc8qs2bwv6y2vwd92r4ys0l1bzymrb36iamr040x961682wv";
modSha256 = import ./mod-sha.nix;
postPatch = ''
substituteInPlace app.go \