diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | default.nix | 21 |
2 files changed, 22 insertions, 0 deletions
@@ -4,3 +4,4 @@ *.json /catbus-actuator-wakeonlan +/result diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..d915704 --- /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 = "catbus-actuator-wakeonlan-${version}"; + version = "latest"; + goPackagePath = "go.eth.moe/catbus-actuator-wakeonlan"; + + modSha256 = "0nj0ny9692bqcw04fh74g8hqgfh3qc095fsq0y9cy677kp7l2q94"; + + src = ./.; + + meta = { + homepage = "https://ethulhu.co.uk/catbus"; + licence = stdenv.lib.licenses.mit; + }; +} |