-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
missing vendorHash update, documented the process on how to update it
- Loading branch information
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: | ||
|
||
buildGoModule { | ||
pname = "oplogtoredis"; | ||
version = "3.0.0"; | ||
|
||
src = builtins.path { path = ./.; }; | ||
|
||
vendorSha256 = "sha256-VHiYVJUNtHN2IY4iXZ6kHAa3Avi2VwRH1ySKBrrCDu4="; | ||
postInstall = '' | ||
''; | ||
|
||
# update: set value to an empty string and run `nix build`. This will download Go, fetch the dependencies and calculates their hash. | ||
vendorHash = "sha256-ceToA2DC1bhmg9WIeNSAfoNoU7sk9PrQqgqt5UbpivQ="; | ||
|
||
nativeBuildInputs = [ installShellFiles ]; | ||
doCheck = false; | ||
doInstallCheck = false; | ||
|
||
meta = with lib; { | ||
description = '' | ||
This program tails the oplog of a Mongo server, and publishes changes to Redis. | ||
It's designed to work with the redis-oplog Meteor package''; | ||
homepage = "https://github.com/tulip/oplogtoredis"; | ||
license = licenses.mit; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.