nixpkgs/pkgs/tools/text/pbgopy/default.nix

23 lines
547 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-12-02 02:47:10 +00:00
buildGoModule rec {
pname = "pbgopy";
2021-01-21 17:55:25 +00:00
version = "0.3.0";
2020-12-02 02:47:10 +00:00
src = fetchFromGitHub {
owner = "nakabonne";
repo = pname;
rev = "v${version}";
2021-01-21 17:55:25 +00:00
sha256 = "sha256-P/MFDFMsqSTVErTM9izJJSMIbiOcbQ9Ya10/w6NRcYw=";
2020-12-02 02:47:10 +00:00
};
2021-01-21 17:55:25 +00:00
vendorSha256 = "sha256-S2X74My6wyDZOsEYTDilCFaYgV2vQzU0jOAY9cEkJ6A=";
2020-12-02 02:47:10 +00:00
meta = with lib; {
2020-12-02 02:47:10 +00:00
description = "Copy and paste between devices";
homepage = "https://github.com/nakabonne/pbgopy";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
};
}