Merge pull request #70953 from iAmMrinal0/fix/rescuetime

rescuetime: 2.14.3.1 -> 2.14.5.2
This commit is contained in:
worldofpeace 2019-10-15 05:45:09 +00:00 committed by GitHub
commit 983df8cd79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -1,21 +1,21 @@
{ stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, makeWrapper, libXScrnSaver }: { stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, mkDerivation, makeWrapper, libXScrnSaver }:
let let
src = src =
if stdenv.hostPlatform.system == "i686-linux" then fetchurl { if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
name = "rescuetime-installer.deb"; name = "rescuetime-installer.deb";
url = "https://www.rescuetime.com/installers/rescuetime_current_i386.deb"; url = "https://www.rescuetime.com/installers/rescuetime_current_i386.deb";
sha256 = "03bky9vja7fijz45n44b6gawd6q8yd30nx6nya9lqdlxd1bkqmji"; sha256 = "0mw8dh9z7pqan0yrhycmv39h5c1sc4mbw5l02cfnn17cy75xdiay";
} else fetchurl { } else fetchurl {
name = "rescuetime-installer.deb"; name = "rescuetime-installer.deb";
url = "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb"; url = "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb";
sha256 = "03bky9vja7fijz45n44b6gawd6q8yd30nx6nya9lqdlxd1bkqmji"; sha256 = "1a6pc8vi2ab721kzyhvg6bmw24dr85dgmx2m9j9vbf3jyr85fv10";
}; };
in stdenv.mkDerivation { in mkDerivation {
# https://www.rescuetime.com/updates/linux_release_notes.html # https://www.rescuetime.com/updates/linux_release_notes.html
name = "rescuetime-2.14.3.1"; name = "rescuetime-2.14.5.2";
inherit src; inherit src;
buildInputs = [ dpkg makeWrapper ]; nativeBuildInputs = [ dpkg ];
# avoid https://github.com/NixOS/patchelf/issues/99 # avoid https://github.com/NixOS/patchelf/issues/99
dontStrip = true; dontStrip = true;
unpackPhase = '' unpackPhase = ''

View File

@ -5909,7 +5909,7 @@ in
reptyr = callPackage ../os-specific/linux/reptyr {}; reptyr = callPackage ../os-specific/linux/reptyr {};
rescuetime = callPackage ../applications/misc/rescuetime { }; rescuetime = libsForQt5.callPackage ../applications/misc/rescuetime { };
reuse = callPackage ../tools/package-management/reuse { }; reuse = callPackage ../tools/package-management/reuse { };