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