nixpkgs-suyu/pkgs/applications/misc/copyq/default.nix
R. RyanTM ef59554f07 copyq: 3.3.0 -> 3.3.1 (#38739)
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
2018-04-11 10:26:30 +02:00

31 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;
};
}