mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
ef59554f07
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. These checks were done: - built on NixOS - ran ‘/nix/store/zdlh8alw6fa0kc0q41rn32i1cbf6azmp-CopyQ-3.3.1/bin/copyq -h’ got 0 exit code - ran ‘/nix/store/zdlh8alw6fa0kc0q41rn32i1cbf6azmp-CopyQ-3.3.1/bin/copyq --help’ got 0 exit code - ran ‘/nix/store/zdlh8alw6fa0kc0q41rn32i1cbf6azmp-CopyQ-3.3.1/bin/copyq help’ got 0 exit code - found 3.3.1 with grep in /nix/store/zdlh8alw6fa0kc0q41rn32i1cbf6azmp-CopyQ-3.3.1 - directory tree listing: https://gist.github.com/985883e2caceb579cd9a6b4cf413c51d
32 lines
858 B
Nix
32 lines
858 B
Nix
{ stdenv, fetchFromGitHub, cmake, qtbase, qtscript, qtwebkit, libXfixes, libXtst, git
|
|
, webkitSupport ? true
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "CopyQ-${version}";
|
|
version = "3.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hluk";
|
|
repo = "CopyQ";
|
|
rev = "v${version}";
|
|
sha256 = "1jjb979dwdnkjca95yxzapbjpd6hr97hxz7sn614whvdv4vvpnyc";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
git qtbase qtscript libXfixes libXtst
|
|
] ++ stdenv.lib.optional webkitSupport qtwebkit;
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|