diff options
author | Boris <boris.ivan.babic@gmail.com> | 2018-07-29 22:05:04 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-07-29 22:05:04 +0200 |
commit | ef9c7f0ac96cbc38ed6d7b8ee04286d794b47d5b (patch) | |
tree | 541da85e41c41fe6c29a53cb89867e976a141356 /pkgs/development/web/postman | |
parent | ab19473a2176b1a1d63e448e121a9389731dfd63 (diff) |
postman: 5.5.3 -> 6.1.4 (#44052)
Diffstat (limited to 'pkgs/development/web/postman')
-rw-r--r-- | pkgs/development/web/postman/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index 6c3509d632f2b..277c53b26e62e 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 |