nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "oscclip";
9 version = "0.4.1";
10
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "rumpelsepp";
15 repo = "oscclip";
16 rev = "v${version}";
17 sha256 = "sha256-WQvZn+SWamEqEXPutIZVDZTIczybtHUG9QsN8XxUeg8=";
18 };
19
20 nativeBuildInputs = with python3Packages; [ poetry-core ];
21
22 meta = {
23 description = "Program that allows to copy/paste from a terminal using osc-52 control sequences";
24 longDescription = ''
25 oscclip provides two commands: osc-copy and osc-paste. These commands allow to interact with the clipboard through the terminal directly.
26 This means that they work through ssh sessions for example (given that the terminal supports osc-52 sequences).
27 '';
28 homepage = "https://github.com/rumpelsepp/oscclip";
29
30 license = lib.licenses.gpl3Only;
31 maintainers = with lib.maintainers; [
32 rumpelsepp
33 traxys
34 ];
35 };
36}