blob: 3f75480b1fa28aea7097c5aa890daf3e09be5c88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs ? import <nixpkgs> {} }:
pkgs.buildGoModule rec {
pname = "rosehdotmoe";
version = "1.0.0";
src = ./.;
# This hash locks the dependencies of this package. It is
# necessary because of how Go requires network access to resolve
# VCS. See https://www.tweag.io/blog/2021-03-04-gomod2nix/ for
# details. Normally one can build with a fake hash and rely on native Go
# mechanisms to tell you what the hash should be or determine what
# it should be "out-of-band" with other tooling (eg. gomod2nix).
# To begin with it is recommended to set this, but one must
# remember to bump this hash when your dependencies change.
# vendorHash = pkgs.lib.fakeHash;
vendorHash = "sha256-w6HhPvISsk/a6WC/T9Ml02SCZ8LXaTKVp5brPkx7Aec=";
}
|