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

23 lines
547 B
Nix
Raw Normal View History

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