2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2020-12-02 02:47:10 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pbgopy";
|
2020-12-08 02:39:00 +00:00
|
|
|
version = "0.2.0";
|
2020-12-02 02:47:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nakabonne";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-08 02:39:00 +00:00
|
|
|
sha256 = "0impgx9w9lk93b7p1vhjnbslr04655fn6csx7hj04kffzhyb3p1q";
|
2020-12-02 02:47:10 +00:00
|
|
|
};
|
|
|
|
|
2020-12-08 02:39:00 +00:00
|
|
|
vendorSha256 = "09hn92bi2rmixpsgckbi8f70widls40fwqqm7y7rqglyjqi7rdmw";
|
2020-12-02 02:47:10 +00:00
|
|
|
|
2021-01-11 07:54:33 +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 ];
|
|
|
|
};
|
|
|
|
}
|