mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
cypress 3.4.1 -> 3.5.0
This commit is contained in:
parent
576515b30d
commit
cb25b6c5d4
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation rec{
|
||||
pname = "cypress";
|
||||
version = "3.4.1";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
|
||||
sha256 = "1gyl5c86gr5sv6z5rkg0afdxqrmsxmyrimm1p5q6jlrlyzki1bfs";
|
||||
sha256 = "1w1nqa0j3bzjr000d4jlr34d1asdc1fv81pq831s3wl55hyqbij6";
|
||||
};
|
||||
|
||||
# don't remove runtime deps
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec{
|
|||
# Let's create the file binary_state ourselves to make the npm package happy on initial verification.
|
||||
# Cypress now verifies version by reading bin/resources/app/package.json
|
||||
mkdir -p $out/bin/resources/app
|
||||
echo '{"version":"3.4.1"}' > $out/bin/resources/app/package.json
|
||||
printf '{"version":"%b"}' $version > $out/bin/resources/app/package.json
|
||||
# Cypress now looks for binary_state.json in bin
|
||||
echo '{"verified": true}' > $out/bin/binary_state.json
|
||||
ln -s $out/opt/cypress/Cypress $out/bin/Cypress
|
||||
|
|
Loading…
Reference in a new issue