diff --git a/pkgs/applications/misc/copyq/default.nix b/pkgs/applications/misc/copyq/default.nix index 0e6025a2ee1b..9a3037be3be3 100644 --- a/pkgs/applications/misc/copyq/default.nix +++ b/pkgs/applications/misc/copyq/default.nix @@ -18,7 +18,7 @@ kdePackages, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (rec { pname = "CopyQ"; version = "10.0.0"; @@ -51,11 +51,6 @@ stdenv.mkDerivation rec { kdePackages.knotifications ]; - postPatch = '' - substituteInPlace shared/com.github.hluk.copyq.desktop.in \ - --replace copyq "$out/bin/copyq" - ''; - patches = [ (fetchpatch { # Can be removed after next release @@ -65,15 +60,17 @@ stdenv.mkDerivation rec { }) ]; - cmakeFlags = [ "-DWITH_QT6=ON" ]; + cmakeFlags = [ + (lib.cmakeBool "WITH_QT6" true) + ]; - meta = with lib; { + meta = { homepage = "https://hluk.github.io/CopyQ"; description = "Clipboard Manager with Advanced Features"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ artturin ]; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ artturin ]; # NOTE: CopyQ supports windows and osx, but I cannot test these. - platforms = platforms.linux; + platforms = lib.platforms.linux; mainProgram = "copyq"; }; -} +})