pkgs: Use upstream oscclip

This commit is contained in:
traxys 2023-05-31 18:14:46 +02:00
parent 9ae8819b7e
commit efbea1ff67
2 changed files with 0 additions and 37 deletions

View file

@ -3,7 +3,6 @@
sources,
naersk,
}: rec {
oscclip = callPackage ./oscclip.nix {oscclip-src = sources.oscclip;};
wowup = callPackage ./wowup.nix {};
simulationcraft = callPackage ./simulationcraft.nix {simulationcraft-src = sources.simulationcraft;};
proton-ge = callPackage ./proton-ge.nix {proton-ge-src = sources.proton-ge;};

View file

@ -1,36 +0,0 @@
{
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=";
};
buildInputs = 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;
platforms = platforms.all;
};
}