lx-music-desktop: replace rec with finalAttrs pattern
This commit is contained in:
@@ -18,14 +18,14 @@
|
||||
let
|
||||
electron = electron_40;
|
||||
in
|
||||
buildNpmPackage rec {
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "lx-music-desktop";
|
||||
version = "2.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lyswhut";
|
||||
repo = "lx-music-desktop";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-g4QVpymzoRKIq70aRLXGFmUmIpSiXIZThrp8fumBKTQ=";
|
||||
};
|
||||
|
||||
@@ -124,11 +124,11 @@ buildNpmPackage rec {
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
description = "Music software based on Electron and Vue";
|
||||
homepage = "https://github.com/lyswhut/lx-music-desktop";
|
||||
changelog = "https://github.com/lyswhut/lx-music-desktop/releases/tag/v${version}";
|
||||
changelog = "https://github.com/lyswhut/lx-music-desktop/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = electron.meta.platforms;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "lx-music-desktop";
|
||||
maintainers = with lib.maintainers; [ starryreverie ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user