mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 14:53:52 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
33 lines
968 B
Nix
33 lines
968 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
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 = "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 = with maintainers; [ rumpelsepp traxys ];
|
|
};
|
|
}
|