3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/copyq/default.nix
R. RyanTM 7f8befd4e1 copyq: 3.9.0 -> 3.9.2 (#69490)
* copyq: 3.9.0 -> 3.9.2

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/copyq/versions

* copyq: use mkDerivation from Qt
2019-10-12 14:01:55 +02:00

33 lines
864 B
Nix

{ lib, mkDerivation, fetchFromGitHub, cmake
, qtbase, qtscript, qtwebkit, libXfixes, libXtst, qtx11extras, git
, webkitSupport ? true
}:
mkDerivation rec {
pname = "CopyQ";
version = "3.9.2";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
sha256 = "02zs444i7hnqishs1i6vp8ffjxlxk3xkrw935pdwnwppv9s9v202";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
git qtbase qtscript libXfixes libXtst qtx11extras
] ++ lib.optional webkitSupport qtwebkit;
meta = with lib; {
homepage = https://hluk.github.io/CopyQ;
description = "Clipboard Manager with Advanced Features";
license = licenses.gpl3;
maintainers = [ maintainers.willtim ];
# NOTE: CopyQ supports windows and osx, but I cannot test these.
# OSX build requires QT5.
platforms = platforms.linux;
};
}