diff options
author | kolaente <k@knt.li> | 2021-04-13 01:13:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 01:13:20 +0200 |
commit | 40175efacf1ea5821d42f8ea6e14d804f92987f0 (patch) | |
tree | af647f6dffe1dd3ac0b0599ea5e326f81e9b133f /pkgs/development/web/cypress/default.nix | |
parent | 0177881cbeafc5bead9542bc0bdd11bb7068df92 (diff) | |
download | nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar.gz nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar.bz2 nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar.lz nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar.xz nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.tar.zst nixpkgs-40175efacf1ea5821d42f8ea6e14d804f92987f0.zip |
cypress: 6.6.0 -> 7.0.0 (#118902)
Diffstat (limited to 'pkgs/development/web/cypress/default.nix')
-rw-r--r-- | pkgs/development/web/cypress/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/web/cypress/default.nix b/pkgs/development/web/cypress/default.nix index 2d04fc51c81..a610f298a28 100644 --- a/pkgs/development/web/cypress/default.nix +++ b/pkgs/development/web/cypress/default.nix @@ -2,27 +2,29 @@ stdenv.mkDerivation rec { pname = "cypress"; - version = "6.6.0"; + version = "7.0.0"; src = fetchzip { url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip"; - sha256 = "13zw9gyaqna9d82mwrglab4dfx5y9faqf36d6xplq0z6vnzig1rg"; + sha256 = "0ad578fqbijw8yf0c92c33inpqam1cfhbwcwinzlmc22h0d4bv5h"; }; # don't remove runtime deps dontPatchELF = true; - nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook ]; + nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook unzip ]; 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) ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin $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. @@ -32,6 +34,8 @@ stdenv.mkDerivation rec { # Cypress now looks for binary_state.json in bin echo '{"verified": true}' > $out/binary_state.json ln -s $out/opt/cypress/Cypress $out/bin/Cypress + + runHook postInstall ''; meta = with lib; { |