diff options
author | Jeremy Baxter <jtbx@disroot.org> | 2024-05-22 13:32:12 +1200 |
---|---|---|
committer | Jeremy Baxter <jtbx@disroot.org> | 2024-05-23 09:35:22 +1200 |
commit | dd846b37bc57af7a755394c78fef9544231e28b8 (patch) | |
tree | 757b6a298a608b1b92375fe254c9867d9af6602d /pkgs/by-name/oi | |
parent | c0eebfae00825c88f6adabe9d6c38faffdf92751 (diff) |
oink: init at 1.1.1
Diffstat (limited to 'pkgs/by-name/oi')
-rw-r--r-- | pkgs/by-name/oi/oink/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/oi/oink/package.nix b/pkgs/by-name/oi/oink/package.nix new file mode 100644 index 0000000000000..b7198abacc544 --- /dev/null +++ b/pkgs/by-name/oi/oink/package.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "oink"; + version = "1.1.1"; + + src = fetchFromGitHub { + owner = "rlado"; + repo = "oink"; + rev = "v${version}"; + hash = "sha256-nSLoochU0mRxD83EXH3xsrfBBg4SnvIyf5qUiwSeh0c="; + }; + + vendorHash = null; + + postInstall = '' + mv $out/bin/src $out/bin/oink + ''; + + meta = { + description = "Dynamic DNS client for Porkbun"; + homepage = "https://github.com/rlado/oink"; + license = lib.licenses.mit; + mainProgram = "oink"; + maintainers = with lib.maintainers; [ jtbx ]; + }; +} |