2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
2023-01-20 10:41:00 +00:00
|
|
|
, python3Packages
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchFromGitHub
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "oscclip";
|
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rumpelsepp";
|
|
|
|
repo = "oscclip";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-WQvZn+SWamEqEXPutIZVDZTIczybtHUG9QsN8XxUeg8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Program that allows to copy/paste from a terminal using osc-52 control sequences";
|
2023-01-20 10:41:00 +00:00
|
|
|
longDescription = ''
|
|
|
|
oscclip provides two commands: osc-copy and osc-paste. These commands allow to interact with the clipboard through the terminal directly.
|
|
|
|
This means that they work through ssh sessions for example (given that the terminal supports osc-52 sequences).
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/rumpelsepp/oscclip";
|
|
|
|
|
|
|
|
license = licenses.gpl3Only;
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with maintainers; [ rumpelsepp traxys ];
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
}
|