about summary refs log tree commit diff
path: root/pkgs/development/web
diff options
context:
space:
mode:
authorBoris <boris.ivan.babic@gmail.com>2018-07-29 22:05:04 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-07-29 22:05:04 +0200
commitef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b (patch)
tree541da85e41c41fe6c29a53cb89867e976a141356 /pkgs/development/web
parentab19473a2176b1a1d63e448e121a9389731dfd63 (diff)
downloadnixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar.gz
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar.bz2
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar.lz
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar.xz
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.tar.zst
nixlib-ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b.zip
postman: 5.5.3 -> 6.1.4 (#44052)
Diffstat (limited to 'pkgs/development/web')
-rw-r--r--pkgs/development/web/postman/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix
index 6c3509d632f2..277c53b26e62 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 = "5.5.3";
+  version = "6.1.4";
 
   src = fetchurl {
     url = "https://dl.pstmn.io/download/version/${version}/linux64";
-    sha1 = "BC0C6117BEC6D1638FD18A0E2A580617669A9297";
+    sha256 = "2f93a860f87d842c0e0433b55cd7c46e04d1d20c0adcae8680332585dffd86eb";
     name = "${name}.tar.gz";
   };
 
@@ -16,15 +16,10 @@ stdenv.mkDerivation rec {
 
   buildPhase = ":";   # nothing to build
 
-  icon = fetchurl {
-    url = "https://www.getpostman.com/img/v2/media-kit/Logo/PNG/pm-logo-horiz.png";
-    sha256 = "271b88317bd787f4a30ab374148e73314d60fb1b220ef791611774a061c49f30";
-  };
-
   desktopItem = makeDesktopItem {
     name = "postman";
     exec = "postman";
-    icon = "${icon}";
+    icon = "postman";
     comment = "API Development Environment";
     desktopName = "Postman";
     genericName = "Postman";
@@ -33,13 +28,17 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     mkdir -p $out/share/postman
-    cp -R * $out/share/postman
+    cp -R app/* $out/share/postman
 
     mkdir -p $out/bin
     ln -s $out/share/postman/Postman $out/bin/postman
 
     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
   '';
 
   preFixup = let