Merge pull request #141490 from johnrichardrinehart/postman/9.0.4
This commit is contained in:
commit
7ba2dbae01
2 changed files with 12 additions and 6 deletions
|
@ -5467,6 +5467,12 @@
|
|||
githubId = 8735102;
|
||||
name = "John Ramsden";
|
||||
};
|
||||
johnrichardrinehart = {
|
||||
email = "johnrichardrinehart@gmail.com";
|
||||
github = "johnrichardrinehart";
|
||||
githubId = 6321578;
|
||||
name = "John Rinehart";
|
||||
};
|
||||
johntitor = {
|
||||
email = "huyuumi.dev@gmail.com";
|
||||
github = "JohnTitor";
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "postman";
|
||||
version = "8.10.0";
|
||||
version = "9.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.pstmn.io/download/version/${version}/linux64";
|
||||
sha256 = "05f3eaa229483a7e1f698e6e2ea2031d37687de540d4fad05ce677ac216db24d";
|
||||
sha256 = "9OX1rSNWq2YJQBCt64iE4osZvfVajgEC2F28w7HSs3U=";
|
||||
name = "${pname}.tar.gz";
|
||||
};
|
||||
|
||||
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
|||
rm $out/share/postman/Postman
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/share/postman/_Postman $out/bin/postman
|
||||
ln -s $out/share/postman/postman $out/bin/postman
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
ln -s ${desktopItem}/share/applications/* $out/share/applications/
|
||||
|
@ -88,8 +88,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postFixup = ''
|
||||
pushd $out/share/postman
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" _Postman
|
||||
for file in $(find . -type f \( -name \*.node -o -name _Postman -o -name \*.so\* \) ); do
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" postman
|
||||
for file in $(find . -type f \( -name \*.node -o -name postman -o -name \*.so\* \) ); do
|
||||
ORIGIN=$(patchelf --print-rpath $file); \
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}:$ORIGIN" $file
|
||||
done
|
||||
|
@ -101,6 +101,6 @@ stdenv.mkDerivation rec {
|
|||
description = "API Development Environment";
|
||||
license = licenses.postman;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ xurei evanjs ];
|
||||
maintainers = with maintainers; [ johnrichardrinehart evanjs ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue