electron_10: init at 10.1.1

This commit is contained in:
Pavol Rusnak 2020-08-31 22:03:54 +02:00
parent f73b762aac
commit 8d9fadd3e0
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
3 changed files with 12 additions and 4 deletions

View file

@ -59,4 +59,12 @@ in
armv7l-linux = "cc098caebbed5022f26d12f9b5dc316a35dbae0bcf62b9fc72c3b385f93a32d5";
aarch64-linux = "ee39854d8e9ee06e9b94c457a52b0556f570316bbd755d7022e3eade4b5974d5";
};
electron_10 = mkElectron "10.1.1" {
x86_64-linux = "4147e88bdbec6893bf9927f0d4f3dd090d26705f5b7f688223bc65253a8b0220";
x86_64-darwin = "5b6814ae1064cc337efcdb2ad01ab9daa003a6a1d6e05d79288ede0a3665b991";
i686-linux = "d29682b7ea44dcdca5e7265bd1e28046275295a9ac23982af3d216a7f47a7a57";
armv7l-linux = "341a2eacb0381c1f409b8e28cf2c0fe6f75a61410614baf80309f51dd4201a34";
aarch64-linux = "d5e5b069f3173ed89f4cca7e9723f28a5f7a720637b7addac02972c5db042b6c";
};
}

View file

@ -10,7 +10,7 @@ let
license = licenses.mit;
maintainers = with maintainers; [ travisbhartwell manveru prusnak ];
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" "aarch64-linux" ];
knownVulnerabilities = optional (version < "6") "Electron version ${version} is EOL";
knownVulnerabilities = optional (versionOlder version "6.0.0") "Electron version ${version} is EOL";
};
fetcher = vers: tag: hash: fetchurl {
@ -34,7 +34,7 @@ let
src = fetcher version (get tags platform) (get hashes platform);
};
electronLibPath = stdenv.lib.makeLibraryPath ([ libuuid at-spi2-atk at-spi2-core ] ++ stdenv.lib.optionals (version > "9") [ libdrm mesa ]);
electronLibPath = with stdenv.lib; makeLibraryPath ([ libuuid at-spi2-atk at-spi2-core ] ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ]);
linux = {
buildInputs = [ glib gtk3 ];

View file

@ -10444,8 +10444,8 @@ in
aws-adfs = with python3Packages; toPythonApplication aws-adfs;
inherit (callPackages ../development/tools/electron { })
electron_3 electron_4 electron_5 electron_6 electron_7 electron_8 electron_9;
electron = electron_9;
electron_3 electron_4 electron_5 electron_6 electron_7 electron_8 electron_9 electron_10;
electron = electron_10;
autobuild = callPackage ../development/tools/misc/autobuild { };