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