Skip to content

Commit 0a661d3

Browse files
osc: init at 0.4.7 (#380765)
2 parents 7cb61eb + 4f81f4e commit 0a661d3

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9228,6 +9228,12 @@
92289228
githubId = 33523827;
92299229
name = "Harrison Thorne";
92309230
};
9231+
harryposner = {
9232+
email = "[email protected]";
9233+
github = "harryposner";
9234+
githubId = 23534120;
9235+
name = "Harry Posner";
9236+
};
92319237
haruki7049 = {
92329238
email = "[email protected]";
92339239
github = "haruki7049";

pkgs/by-name/os/osc/package.nix

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "osc";
9+
version = "0.4.7";
10+
11+
src = fetchFromGitHub {
12+
owner = "theimpostor";
13+
repo = "osc";
14+
tag = "v${version}";
15+
hash = "sha256-MfEBbYT99tEtlOMmdl3iq2d07KYsN1tu5tDRFW3676g=";
16+
};
17+
18+
vendorHash = "sha256-POtQWIjPObsfa3YZ1dLZgedZFUcc4HeTWjU20AucoKc=";
19+
20+
meta = {
21+
description = "Command line tool to access the system clipboard from anywhere using the ANSI OSC52 sequence";
22+
longDescription = ''
23+
osc provides the commands osc copy, which copies stdin to the system clipboard, and osc paste, which outputs system clipboard contents to stdout.
24+
System clipboard access includes writing (i.e. copy) and reading (i.e. paste), even while logged into a remote machine via ssh.
25+
'';
26+
homepage = "https://github.com/theimpostor/osc";
27+
changelog = "https://github.com/theimpostor/osc/releases/tag/v${version}";
28+
license = lib.licenses.mit;
29+
maintainers = with lib.maintainers; [ harryposner ];
30+
mainProgram = "osc";
31+
};
32+
}

0 commit comments

Comments
 (0)