Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "pbgopy"; 5 version = "0.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "nakabonne"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-P/MFDFMsqSTVErTM9izJJSMIbiOcbQ9Ya10/w6NRcYw="; 12 }; 13 14 vendorSha256 = "sha256-S2X74My6wyDZOsEYTDilCFaYgV2vQzU0jOAY9cEkJ6A="; 15 16 meta = with lib; { 17 description = "Copy and paste between devices"; 18 homepage = "https://github.com/nakabonne/pbgopy"; 19 license = licenses.mit; 20 maintainers = [ maintainers.ivar ]; 21 }; 22}