Skip to content

Commit 4f81f4e

Browse files
committed
osc: init at 0.4.7
1 parent 4abc884 commit 4f81f4e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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)