Files
nixpkgs/pkgs/by-name/os/osc/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
1.0 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "osc";
version = "0.4.8";
src = fetchFromGitHub {
owner = "theimpostor";
repo = "osc";
tag = "v${version}";
hash = "sha256-XVFNcQH4MFZKmuOD9b3t320/hE+s+3igjlyHBWGKr0Q=";
};
vendorHash = "sha256-k+4m9y7oAZqTr8S0zldJk5FeI3+/nN9RggKIfiyxzDI=";
meta = {
description = "Command line tool to access the system clipboard from anywhere using the ANSI OSC52 sequence";
longDescription = ''
osc provides the commands osc copy, which copies stdin to the system clipboard, and osc paste, which outputs system clipboard contents to stdout.
System clipboard access includes writing (i.e. copy) and reading (i.e. paste), even while logged into a remote machine via ssh.
'';
homepage = "https://github.com/theimpostor/osc";
changelog = "https://github.com/theimpostor/osc/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ harryposner ];
mainProgram = "osc";
};
}