aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix21
l---------result1
2 files changed, 22 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;
+ };
+}
diff --git a/result b/result
new file mode 120000
index 0000000..ed6bf93
--- /dev/null
+++ b/result
@@ -0,0 +1 @@
+/nix/store/z9fwlc9w5307mxf6hh98wi76z649lxv2-dispatch-latest \ No newline at end of file