tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
CopyQ: 3.13.0 -> 4.1.0
Artturin
4 years ago
53b07b7f
20117e60
+50
-14
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
copyq
default.nix
top-level
all-packages.nix
+49
-13
pkgs/applications/misc/copyq/default.nix
···
1
-
{ lib, mkDerivation, fetchFromGitHub, cmake
2
-
, qtbase, qtscript, qtwebkit, libXfixes, libXtst, qtx11extras, git
3
-
, webkitSupport ? true
0
0
0
0
0
0
0
0
0
0
0
0
4
}:
5
6
mkDerivation rec {
7
pname = "CopyQ";
8
-
version = "3.13.0";
9
10
-
src = fetchFromGitHub {
11
owner = "hluk";
12
repo = "CopyQ";
13
rev = "v${version}";
14
-
sha256 = "0qssyavx0dkgsyj2myqg8n7sih8niy960nyb1yknsbjm37iqraah";
15
};
16
17
-
nativeBuildInputs = [ cmake ];
0
0
0
18
19
buildInputs = [
20
-
git qtbase qtscript libXfixes libXtst qtx11extras
21
-
] ++ lib.optional webkitSupport qtwebkit;
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
22
23
meta = with lib; {
24
-
homepage = "https://hluk.github.io/CopyQ";
25
description = "Clipboard Manager with Advanced Features";
26
-
license = licenses.gpl3;
27
-
maintainers = [ maintainers.willtim ];
28
# NOTE: CopyQ supports windows and osx, but I cannot test these.
29
# OSX build requires QT5.
30
-
platforms = platforms.linux;
31
};
32
}
···
1
+
{ lib
2
+
, mkDerivation
3
+
, fetchFromGitHub
4
+
, cmake
5
+
, extra-cmake-modules
6
+
, qtbase
7
+
, qtscript
8
+
, libXfixes
9
+
, libXtst
10
+
, qtx11extras
11
+
, git
12
+
, knotifications
13
+
, qtwayland
14
+
, wayland
15
+
, fetchpatch
16
}:
17
18
mkDerivation rec {
19
pname = "CopyQ";
20
+
version = "4.1.0";
21
22
+
src = fetchFromGitHub {
23
owner = "hluk";
24
repo = "CopyQ";
25
rev = "v${version}";
26
+
sha256 = "1iacnd9dn0mrajff80r2g5nlks5sch9lmpl633mnyqmih9dwx2li";
27
};
28
29
+
nativeBuildInputs = [
30
+
cmake
31
+
extra-cmake-modules
32
+
];
33
34
buildInputs = [
35
+
qtbase
36
+
qtscript
37
+
libXfixes
38
+
libXtst
39
+
qtx11extras
40
+
knotifications
41
+
qtwayland
42
+
wayland
43
+
];
44
+
45
+
patches = [
46
+
# Install the bash completion script correctly
47
+
# Remove once 4.1.1 is released
48
+
(fetchpatch {
49
+
url = "https://github.com/hluk/CopyQ/commit/aca7222ec28589af0b08f63686104b992d63ee42.patch";
50
+
sha256 = "0d440d0zsdzm9cd0b6c42y9qbrvxg7gdam0qmif62mr8qa0ylidl";
51
+
})
52
+
];
53
+
54
+
postPatch = ''
55
+
substituteInPlace shared/com.github.hluk.copyq.desktop.in \
56
+
--replace copyq "$out/bin/copyq"
57
+
'';
58
59
meta = with lib; {
60
+
homepage = "https://hluk.github.io/CopyQ";
61
description = "Clipboard Manager with Advanced Features";
62
+
license = licenses.gpl3Only;
63
+
maintainers = with maintainers; [ willtim artturin ];
64
# NOTE: CopyQ supports windows and osx, but I cannot test these.
65
# OSX build requires QT5.
66
+
platforms = platforms.linux;
67
};
68
}
+1
-1
pkgs/top-level/all-packages.nix
···
23431
23432
confclerk = callPackage ../applications/misc/confclerk { };
23433
23434
-
copyq = libsForQt514.callPackage ../applications/misc/copyq { };
23435
23436
corectrl = libsForQt5.callPackage ../applications/misc/corectrl { };
23437
···
23431
23432
confclerk = callPackage ../applications/misc/confclerk { };
23433
23434
+
copyq = libsForQt5.callPackage ../applications/misc/copyq { };
23435
23436
corectrl = libsForQt5.callPackage ../applications/misc/corectrl { };
23437