Merge pull request #24102 from ndowens/copyq

copyq: 2.5.0 -> 2.9.0
This commit is contained in:
ndowens 2017-03-19 20:13:21 -05:00 committed by GitHub
commit 0f1297ed8c

View file

@ -1,21 +1,25 @@
{ stdenv, fetchurl, cmake, qt4, libXfixes, libXtst}:
{ stdenv, fetchFromGitHub, cmake, qt4, libXfixes, libXtst}:
let version = "2.5.0";
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "CopyQ-${version}";
src = fetchurl {
url = "https://github.com/hluk/CopyQ/archive/v${version}.tar.gz";
sha256 = "7726745056e8d82625531defc75b2a740d3c42131ecce1f3181bc0a0bae51fb1";
version = "2.9.0";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
sha256 = "1gnqsfh50w3qcnbghkpjr5qs42fgl6643lmg4mg4wam8a852s64f";
};
buildInputs = [ cmake qt4 libXfixes libXtst ];
nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 libXfixes libXtst ];
meta = with stdenv.lib; {
homepage = "https://hluk.github.io/CopyQ";
homepage = https://hluk.github.io/CopyQ;
description = "Clipboard Manager with Advanced Features";
license = licenses.gpl3;
maintainers = with maintainers; [ willtim ];
maintainers = [ maintainers.willtim ];
# NOTE: CopyQ supports windows and osx, but I cannot test these.
# OSX build requires QT5.
platforms = platforms.linux;