Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oscclip: init at 0.4.1 #202587

Merged
merged 2 commits into from Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -14305,6 +14305,12 @@
githubId = 52011418;
name = "Travis Davis";
};
traxys = {
email = "quentin+dev@familleboyer.net";
github = "traxys";
githubId = 5623227;
name = "Quentin Boyer";
};
TredwellGit = {
email = "tredwell@tutanota.com";
github = "TredwellGit";
Expand Down
34 changes: 34 additions & 0 deletions pkgs/tools/misc/oscclip/default.nix
@@ -0,0 +1,34 @@
{ fetchFromGitHub
, python3Packages
, stdenv
, writeText
, lib
}:

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; {
description = "A program that allows to copy/paste from a terminal using osc-52 control sequences.";
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;
maintainers = [ maintainers.traxys ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10303,6 +10303,8 @@ with pkgs;

operator-sdk = callPackage ../development/tools/operator-sdk { };

oscclip = callPackage ../tools/misc/oscclip { };

owncast = callPackage ../servers/owncast { };

update-dotdee = with python3Packages; toPythonApplication update-dotdee;
Expand Down