From f860a72464e0f1f32a853531bce63b37f98a8f74 Mon Sep 17 00:00:00 2001 From: "P. R. d. O." Date: Sat, 11 Nov 2023 10:59:03 -0600 Subject: [PATCH] clockify: 2.0.3 -> 2.1.6 --- pkgs/applications/office/clockify/default.nix | 10 +++++----- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/office/clockify/default.nix b/pkgs/applications/office/clockify/default.nix index 37afa6cc226f..efd20632a2a3 100644 --- a/pkgs/applications/office/clockify/default.nix +++ b/pkgs/applications/office/clockify/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "clockify"; - version = "2.0.3"; + version = "2.1.6"; src = fetchurl { - url = "https://web.archive.org/web/20211118160803/https://clockify-resources.s3.eu-central-1.amazonaws.com/downloads/Clockify_Setup.deb"; - sha256 = "sha256-eVZ3OqM1eoWfST7Qu9o8VmLm8ntD+ETf/0aes6RY4Y8="; + url = "https://web.archive.org/web/20231110130133/https://clockify.me/downloads/Clockify_Setup_x64.deb"; + hash = "sha256-jndoMk3vqk8a5jMzKVo6ThovSISmcu+hef9IJcg3reQ="; }; nativeBuildInputs = [ @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { mv opt $out substituteInPlace $out/share/applications/clockify.desktop \ - --replace "/opt/Clockify" $out/bin + --replace "/opt/Clockify/" "" makeWrapper ${electron}/bin/electron $out/bin/clockify \ --add-flags $out/opt/Clockify/resources/app.asar @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { homepage = "https://clockify.me"; license = licenses.unfree; maintainers = with maintainers; [ wolfangaukang ]; + mainProgram = "clockify"; platforms = [ "x86_64-linux" ]; - }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ca9236620428..45a892374a48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4886,7 +4886,7 @@ with pkgs; clipster = callPackage ../tools/misc/clipster { }; clockify = callPackage ../applications/office/clockify { - electron = electron_11; + electron = electron_24; }; contrast = callPackage ../applications/accessibility/contrast { };