2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2020-12-03 08:41:04 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pbgopy";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "0.2.0";
|
2020-12-03 08:41:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nakabonne";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-09 12:39:15 +00:00
|
|
|
sha256 = "0impgx9w9lk93b7p1vhjnbslr04655fn6csx7hj04kffzhyb3p1q";
|
2020-12-03 08:41:04 +00:00
|
|
|
};
|
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
vendorSha256 = "09hn92bi2rmixpsgckbi8f70widls40fwqqm7y7rqglyjqi7rdmw";
|
2020-12-03 08:41:04 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-03 08:41:04 +00:00
|
|
|
description = "Copy and paste between devices";
|
|
|
|
homepage = "https://github.com/nakabonne/pbgopy";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivar ];
|
|
|
|
};
|
|
|
|
}
|