bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git] / pkgs / by-name / pb / pbgopy / package.nix
bloba58cce6be11588958f12e7bae218b0e13d532e8f
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "pbgopy";
9   version = "0.3.0";
11   src = fetchFromGitHub {
12     owner = "nakabonne";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "sha256-P/MFDFMsqSTVErTM9izJJSMIbiOcbQ9Ya10/w6NRcYw=";
16   };
18   vendorHash = "sha256-S2X74My6wyDZOsEYTDilCFaYgV2vQzU0jOAY9cEkJ6A=";
20   meta = with lib; {
21     description = "Copy and paste between devices";
22     mainProgram = "pbgopy";
23     homepage = "https://github.com/nakabonne/pbgopy";
24     license = licenses.mit;
25     maintainers = [ ];
26   };