From 16a416bf43df302bf466d76e541146ad8dd194af Mon Sep 17 00:00:00 2001 From: d10n Date: Thu, 28 Mar 2019 16:08:04 -0400 Subject: [PATCH 1/3] postman: 6.7.3 -> 7.0.6 --- pkgs/development/web/postman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index 5466bb8c7c84..e80da5bc0d88 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "postman-${version}"; - version = "6.7.3"; + version = "7.0.6"; src = fetchurl { url = "https://dl.pstmn.io/download/version/${version}/linux64"; - sha256 = "04gfdb2pk2y8yv9ixq4ac5pk0rdfspd0810izij3hjnyqlv32hfg"; + sha256 = "8b97c3203d880413f3c9010aab867517c0a05d66a1d6b193afe07c3467dbbd4c"; name = "${name}.tar.gz"; }; From 5dbc956869dec56e5d2a7da1bd1a4aaada6fe77a Mon Sep 17 00:00:00 2001 From: d10n Date: Wed, 3 Apr 2019 13:47:53 -0400 Subject: [PATCH 2/3] postman: 7.0.6 -> 7.0.7 --- pkgs/development/web/postman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index e80da5bc0d88..66d17f671731 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "postman-${version}"; - version = "7.0.6"; + version = "7.0.7"; src = fetchurl { url = "https://dl.pstmn.io/download/version/${version}/linux64"; - sha256 = "8b97c3203d880413f3c9010aab867517c0a05d66a1d6b193afe07c3467dbbd4c"; + sha256 = "47be1b955759520f3a2c7dcdecb85b4c52c38df717da294ba184f46f2058014a"; name = "${name}.tar.gz"; }; From dd47ef70ff0b094a1850a1f42e6c3f2a107f6f46 Mon Sep 17 00:00:00 2001 From: d10n Date: Wed, 3 Apr 2019 13:50:36 -0400 Subject: [PATCH 3/3] postman: Link icon to $out/share/icons root At least on the version of Gnome shipping with CentOS 6, the icon in $out/share/icons/hicolor/128x128/apps is not picked up, but the icon in $out/share/icons does get picked up. --- pkgs/development/web/postman/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index 66d17f671731..a09a84e4bf75 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -36,9 +36,11 @@ stdenv.mkDerivation rec { mkdir -p $out/share/applications ln -s ${desktopItem}/share/applications/* $out/share/applications/ - iconDir=$out/share/icons/hicolor/128x128/apps - mkdir -p $iconDir - ln -s $out/share/postman/resources/app/assets/icon.png $iconDir/postman.png + iconRootDir=$out/share/icons + iconSizeDir=$out/share/icons/hicolor/128x128/apps + mkdir -p $iconSizeDir + ln -s $out/share/postman/resources/app/assets/icon.png $iconRootDir/postman.png + ln -s $out/share/postman/resources/app/assets/icon.png $iconSizeDir/postman.png ''; preFixup = let