Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions pkgs/applications/audio/nuclear/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{ appimageTools, lib, fetchurl }:
let
pname = "nuclear";
version = "0.6.6";
version = "0.6.17";
name = "${pname}-v${version}";

src = fetchurl {
url = "https://github.com/nukeop/nuclear/releases/download/v${version}/${name}.AppImage";
sha256 = "0c1335m76fv0wfbk07s8r6ln7zbmlqd66052gqfisakl8a1aafl6";
sha256 = "M5nTsAUMItFDb1wd9mGDAnj+PgHMYMYiMtvtlc3GqVk=";
};

appimageContents = appimageTools.extract { inherit name src; };
in appimageTools.wrapType2 {
inherit name src;

extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname}

Expand All @@ -21,7 +20,7 @@ in appimageTools.wrapType2 {
--replace 'Exec=AppRun' 'Exec=${pname}'
cp -r ${appimageContents}/usr/share/icons $out/share
'';

extraPkgs = pkgs: with pkgs; [ wrapGAppsHook ];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't be needed once #161739 is merged

meta = with lib; {
description = "Streaming music player that finds free music for you";
homepage = "https://nuclear.js.org/";
Expand Down