nuclear: init at 0.6.6
This commit is contained in:
parent
e99270812f
commit
9df15228fc
2 changed files with 34 additions and 0 deletions
32
pkgs/applications/audio/nuclear/default.nix
Normal file
32
pkgs/applications/audio/nuclear/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ appimageTools, lib, fetchurl }:
|
||||
let
|
||||
pname = "nuclear";
|
||||
version = "0.6.6";
|
||||
name = "${pname}-v${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/nukeop/nuclear/releases/download/v${version}/${name}.AppImage";
|
||||
sha256 = "0c1335m76fv0wfbk07s8r6ln7zbmlqd66052gqfisakl8a1aafl6";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract { inherit name src; };
|
||||
in appimageTools.wrapType2 {
|
||||
inherit name src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${name} $out/bin/${pname}
|
||||
|
||||
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=$out/bin/nuclear'
|
||||
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Streaming music player that finds free music for you";
|
||||
homepage = "https://nuclear.js.org/";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -19414,6 +19414,8 @@ in
|
|||
inherit (callPackages ../data/fonts/noto-fonts {})
|
||||
noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-emoji-blob-bin noto-fonts-extra;
|
||||
|
||||
nuclear = callPackage ../applications/audio/nuclear { };
|
||||
|
||||
nullmailer = callPackage ../servers/mail/nullmailer {
|
||||
stdenv = gccStdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue