depot/third_party/nixpkgs/pkgs/tools/networking/piknik/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

37 lines
760 B
Nix

{ 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 ];
};
}