mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
electron: rename name to pname&version
This commit is contained in:
parent
6f4058961c
commit
0b52d42646
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue