clockify: 2.0.3 -> 2.1.6

This commit is contained in:
P. R. d. O. 2023-11-11 10:59:03 -06:00
parent 1cedf17973
commit f860a72464
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
2 changed files with 6 additions and 6 deletions

View File

@ -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" ];
};
}

View File

@ -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 { };