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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user