diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..ce5eeb6 --- /dev/null +++ b/default.nix @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2020 Ethel Morgan +# +# SPDX-License-Identifier: MIT + +{ pkgs ? import <nixpkgs> {} }: +with pkgs; + +buildGoModule rec { + name = "dispatch-${version}"; + version = "latest"; + goPackagePath = "go.eth.moe/dispatch"; + + modSha256 = "02ymhmswdgyg1l5p58bdmnkqmidimynp1p39fyyv65j1jjk9gxpp"; + + src = ./.; + + meta = { + homepage = "https://git.eth.moe/dispatch"; + licence = stdenv.lib.licenses.mit; + }; +} |