cypress: 6.6.0 -> 7.0.0 (#118902)
This commit is contained in:
parent
0177881cbe
commit
40175efacf
@ -2,27 +2,29 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cypress";
|
pname = "cypress";
|
||||||
version = "6.6.0";
|
version = "7.0.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
|
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
|
||||||
sha256 = "13zw9gyaqna9d82mwrglab4dfx5y9faqf36d6xplq0z6vnzig1rg";
|
sha256 = "0ad578fqbijw8yf0c92c33inpqam1cfhbwcwinzlmc22h0d4bv5h";
|
||||||
};
|
};
|
||||||
|
|
||||||
# don't remove runtime deps
|
# don't remove runtime deps
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook ];
|
nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook unzip ];
|
||||||
|
|
||||||
buildInputs = with xorg; [
|
buildInputs = with xorg; [
|
||||||
libXScrnSaver libXdamage libXtst
|
libXScrnSaver libXdamage libXtst libxshmfence
|
||||||
] ++ [
|
] ++ [
|
||||||
nss gtk2 alsaLib gnome2.GConf gtk3 unzip
|
nss gtk2 alsaLib gnome2.GConf gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
runtimeDependencies = [ (lib.getLib udev) ];
|
runtimeDependencies = [ (lib.getLib udev) ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin $out/opt/cypress
|
mkdir -p $out/bin $out/opt/cypress
|
||||||
cp -vr * $out/opt/cypress/
|
cp -vr * $out/opt/cypress/
|
||||||
# Let's create the file binary_state ourselves to make the npm package happy on initial verification.
|
# Let's create the file binary_state ourselves to make the npm package happy on initial verification.
|
||||||
@ -32,6 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
# Cypress now looks for binary_state.json in bin
|
# Cypress now looks for binary_state.json in bin
|
||||||
echo '{"verified": true}' > $out/binary_state.json
|
echo '{"verified": true}' > $out/binary_state.json
|
||||||
ln -s $out/opt/cypress/Cypress $out/bin/Cypress
|
ln -s $out/opt/cypress/Cypress $out/bin/Cypress
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user