diff options
author | figsoda <figsoda@pm.me> | 2023-05-27 18:38:11 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-27 18:38:11 -0400 |
commit | 80fb89358fe0682bea268c884ce647fd50db1121 (patch) | |
tree | 2323caa99f24cb2e7bdbab40a0fa66d019767745 /pkgs/tools | |
parent | 7bdafdd1c980733e5d1dbbe873eb9fa271d080c9 (diff) |
piknik: init at 0.10.1
https://github.com/jedisct1/piknik
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/piknik/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/networking/piknik/default.nix b/pkgs/tools/networking/piknik/default.nix new file mode 100644 index 0000000000000..7b5b1a5e04c37 --- /dev/null +++ b/pkgs/tools/networking/piknik/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, testers +, piknik +}: + +buildGoModule rec { + pname = "piknik"; + version = "0.10.1"; + + src = fetchFromGitHub { + owner = "jedisct1"; + repo = "piknik"; + rev = version; + hash = "sha256-3yvr2H1a9YtgOEEBwn1HlGXIWFzRwQPBw9+KQxW3/jo="; + }; + + vendorHash = null; + + ldflags = [ "-s" "-w" ]; + + passthru.tests = { + version = testers.testVersion { + package = piknik; + version = "v${version}"; + }; + }; + + meta = with lib; { + description = "Copy/paste anything over the network"; + homepage = "https://github.com/jedisct1/piknik"; + changelog = "https://github.com/jedisct1/piknik/blob/${src.rev}/ChangeLog"; + license = licenses.bsd2; + maintainers = with maintainers; [ figsoda ]; + }; +} |