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