Merge pull request #157496 from Stunkymonkey/electron-pname-version

electron: rename name to pname&version
This commit is contained in:
Pavol Rusnak 2022-01-31 11:15:14 +01:00 committed by GitHub
commit cf5dc19800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@
version: hashes:
let
name = "electron-${version}";
pname = "electron";
meta = with lib; {
description = "Cross platform desktop application shell";
@ -54,7 +54,7 @@ let
"Unsupported system: ${platform.system}";
common = platform: {
inherit name version meta;
inherit pname version meta;
src = fetcher version (get tags platform) (get hashes platform);
passthru.headers = headersFetcher version hashes.headers;
};