1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "xpaste";
9 version = "1.6";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "ossobv";
14 repo = "xpaste";
15 tag = "v${version}";
16 hash = "sha256-eVnoLG+06UTOkvGhzL/XS4JBrEwbXYZ1fuNTIW7YAfE=";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 dependencies = with python3Packages; [
22 xlib
23 ];
24
25 # no tests, no python module to import, no version output to check
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Paste text into X windows that don't work with selections";
30 mainProgram = "xpaste";
31 homepage = "https://github.com/ossobv/xpaste";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ gador ];
34 };
35}