1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 qtbase,
7 qttools,
8 wrapQtAppsHook,
9 gitUpdater,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "qlipper";
14 version = "5.1.2";
15
16 src = fetchFromGitHub {
17 owner = "pvanek";
18 repo = pname;
19 rev = version;
20 hash = "sha256-wHhaRtNiNCk5dtO2dVjRFDVicmYtrnCb2twx6h1m834=";
21 };
22
23 nativeBuildInputs = [
24 cmake
25 qttools
26 wrapQtAppsHook
27 ];
28
29 buildInputs = [
30 qtbase
31 ];
32
33 passthru.updateScript = gitUpdater { };
34
35 meta = with lib; {
36 description = "Cross-platform clipboard history applet";
37 mainProgram = "qlipper";
38 homepage = "https://github.com/pvanek/qlipper";
39 license = licenses.gpl2Plus;
40 platforms = with platforms; unix;
41 teams = [ teams.lxqt ];
42 };
43}