Merge pull request #233841 from Ma27/bump-breitbandmessung

breitbandmessung: 3.1.0 -> 3.3.0; use electron_24
This commit is contained in:
Nick Cao 2023-06-03 09:53:59 -06:00 committed by GitHub
commit c9d748b254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
, stdenv
, fetchurl
, dpkg
, electron_16
, electron_24
, makeWrapper
, nixosTests
, nodePackages
@ -12,13 +12,13 @@
let
inherit (stdenv.hostPlatform) system;
version = "3.1.0";
version = "3.3.0";
systemArgs = rec {
x86_64-linux = rec {
src = fetchurl {
url = "https://download.breitbandmessung.de/bbm/Breitbandmessung-${version}-linux.deb";
sha256 = "sha256-jSP+H9ej9Wd+swBZSy9uMi2ExSTZ191FGZhqaocTl7w=";
sha256 = "sha256-12mbdxklje9msnRtNk1RAtIg3OCybev/vUersDZj2i4=";
};
nativeBuildInputs = [
@ -49,7 +49,7 @@ let
}
EOF
makeWrapper ${electron_16}/bin/electron $out/bin/breitbandmessung \
makeWrapper ${electron_24}/bin/electron $out/bin/breitbandmessung \
--add-flags $out/share/breitbandmessung/resources/build/electron.js
# Fix the desktop link
@ -61,7 +61,7 @@ let
x86_64-darwin = {
src = fetchurl {
url = "https://download.breitbandmessung.de/bbm/Breitbandmessung-${version}-mac.dmg";
sha256 = "sha256-2c8mDKJuHDSw7p52EKnJO5vr2kNTLU6r9pmGPANjE20=";
sha256 = "sha256-a27R/N13i4qU2znTKz+LGxSdgSzJ0MzIHeiPHyRd65k=";
};
nativeBuildInputs = [ undmg ];