git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #24102 from ndowens/copyq

copyq: 2.5.0 -> 2.9.0

commit0f1297ed8cae93ad16e716956159c9f4d447833e authorndowens <ndowens04@gmail.com> dateSun 19 Mar 2017, 20:13 (10 years ago) parentcc161e64c25a47
1 file changed+14−10
pkgs/applications/misc/copyq/default.nix+14−10
pkgs/applications/misc/copyq/default.nix+14−10
@@ -1,21 +1,25 @@
1−{ stdenv, fetchurl, cmake, qt4, libXfixes, libXtst}:
1+{ stdenv, fetchFromGitHub, cmake, qt4, libXfixes, libXtst}:
22
3−let version = "2.5.0";
4−in
5−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
64 name = "CopyQ-${version}";
7− src = fetchurl {
8− url = "https://github.com/hluk/CopyQ/archive/v${version}.tar.gz";
9− sha256 = "7726745056e8d82625531defc75b2a740d3c42131ecce1f3181bc0a0bae51fb1";
5+ version = "2.9.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "hluk";
9+ repo = "CopyQ";
10+ rev = "v${version}";
11+ sha256 = "1gnqsfh50w3qcnbghkpjr5qs42fgl6643lmg4mg4wam8a852s64f";
1012 };
1113
12− buildInputs = [ cmake qt4 libXfixes libXtst ];
14+ nativeBuildInputs = [ cmake ];
15+
16+ buildInputs = [ qt4 libXfixes libXtst ];
1317
1418 meta = with stdenv.lib; {
15− homepage = "https://hluk.github.io/CopyQ";
19+ homepage = https://hluk.github.io/CopyQ;
1620 description = "Clipboard Manager with Advanced Features";
1721 license = licenses.gpl3;
18− maintainers = with maintainers; [ willtim ];
22+ maintainers = [ maintainers.willtim ];
1923 # NOTE: CopyQ supports windows and osx, but I cannot test these.
2024 # OSX build requires QT5.
2125 platforms = platforms.linux;