mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
hyper: 0.8.3 -> 1.3.1
This commit is contained in:
parent
b760bfd9f6
commit
b2a37a7986
@ -11,11 +11,11 @@ let
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.3";
|
version = "1.3.1";
|
||||||
name = "hyper-${version}";
|
name = "hyper-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/zeit/hyper/releases/download/${version}/hyper-${version}-amd64.deb";
|
url = "https://github.com/zeit/hyper/releases/download/${version}/hyper_${version}.deb";
|
||||||
sha256 = "1683gc0fhifn89l9h67yz02pk1xz7p5l3qpiyddr9w21qr9h3lhq";
|
sha256 = "1i1rnq10a9kid8lggrd1gp9g08v98la8idnyk4kx4vn0svqy7nvl";
|
||||||
};
|
};
|
||||||
buildInputs = [ dpkg ];
|
buildInputs = [ dpkg ];
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
@ -26,9 +26,8 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
mv opt "$out/"
|
mv opt "$out/"
|
||||||
ln -s "$out/opt/Hyper/Hyper" "$out/bin/Hyper"
|
ln -s "$out/opt/Hyper/hyper" "$out/bin/hyper"
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${libPath}:\$ORIGIN" "$out/opt/Hyper/Hyper"
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${libPath}:\$ORIGIN" "$out/opt/Hyper/hyper"
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}" "$out/opt/Hyper/resources/app/node_modules/child_pty/build/Release/exechelper"
|
|
||||||
mv usr/* "$out/"
|
mv usr/* "$out/"
|
||||||
'';
|
'';
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user