summary refs log tree commit diff
path: root/pkgs/applications/misc/copyq/default.nix
blob: 0892f8899324bb4d68d1d15bc3bd62c0f08f981d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, cmake, qt4, libXfixes, libXtst}:

let version = "2.5.0";
in
stdenv.mkDerivation {
  name = "CopyQ-${version}";
  src  = fetchurl {
    url    = "https://github.com/hluk/CopyQ/archive/v${version}.tar.gz";
    sha256 = "7726745056e8d82625531defc75b2a740d3c42131ecce1f3181bc0a0bae51fb1";
  };

  buildInputs = [ cmake qt4 libXfixes libXtst ];

  meta = with stdenv.lib; {
    homepage    = "https://hluk.github.io/CopyQ";
    description = "Clipboard Manager with Advanced Features";
    license     = licenses.gpl3;
    maintainers = with maintainers; [ willtim ];
    # NOTE: CopyQ supports windows and osx, but I cannot test these.
    # OSX build requires QT5.
    platforms   = platforms.linux;
  };
}