Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rescuetime: add multiPlatform updateScript #104993

Merged

Conversation

SamirHafez
Copy link
Contributor

@SamirHafez SamirHafez commented Nov 26, 2020

Motivation for this change

Include different platforms in the updateScript

Things done

Run a loop for each platform to update-source-version

Going to be running update for following packages:
 - rescuetime-2.16.4.2

Press Enter key to continue...

Running update for:
 - rescuetime-2.16.4.2: UPDATING ...
 - rescuetime-2.16.4.2: DONE.

Packages updated!

results in

 let
-  version = "2.16.4.2";
+  version = "2.16.5.1";
   src =
     if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
       name = "rescuetime-installer.deb";
       url = "https://www.rescuetime.com/installers/rescuetime_${version}_i386.deb";
-      sha256 = "0zyal9n3rfj8i13v1q25inq6qyil7897483cdhqvwpb8wskrij4c";
+      sha256 = "1xrvyy0higc1fbc8ascpaszvg2bl6x0a35bzmdq6dkay48hnrd8b";
     } else fetchurl {
       name = "rescuetime-installer.deb";
       url = "https://www.rescuetime.com/installers/rescuetime_${version}_amd64.deb";
-      sha256 = "03bmnkxhip1wilnfqs8akmy1hppahxrmnm8gasnmw5s922vn06cv";
+      sha256 = "09ng0yal66d533vzfv27k9l2va03rqbqmsni43qi3hgx7w9wx5ii";
     };
 in mkDerivation rec {
   # https://www.rescuetime.com/updates/linux_release_notes.html

/cc @cstrahan

@SamirHafez
Copy link
Contributor Author

pinging @cstrahan

@SuperSandro2000 SuperSandro2000 merged commit 7422b1e into NixOS:master Jan 18, 2021
@SamirHafez SamirHafez deleted the rescuetime-updateScript-multiPlatform branch January 19, 2021 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants