Skip to content

Commit

Permalink
[24.05] feishin: backports (#337949)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Aug 29, 2024
2 parents 47f88e5 + 5a1c3f5 commit 1605373
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/by-name/fe/feishin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
stdenv,
buildNpmPackage,
fetchFromGitHub,
electron_27,
electron_31,
darwin,
copyDesktopItems,
makeDesktopItem,
Expand All @@ -15,12 +15,12 @@ let

src = fetchFromGitHub {
owner = "jeffvli";
repo = pname;
repo = "feishin";
rev = "v${version}";
hash = "sha256-UOY0wjWGK7sal/qQbbkHjFUIA49QtbO+Ei6hSTOyHWk=";
};

electron = electron_27;
electron = electron_31;
in
buildNpmPackage {
inherit pname version;
Expand Down Expand Up @@ -123,7 +123,7 @@ buildNpmPackage {
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
ln -s \
$out/share/feishin/resources/assets/icons/"$size"x"$size".png \
$out/share/icons/hicolor/"$size"x"$size"/apps/${pname}.png
$out/share/icons/hicolor/"$size"x"$size"/apps/feishin.png
done
''
+ ''
Expand All @@ -135,7 +135,7 @@ buildNpmPackage {
name = "feishin";
desktopName = "Feishin";
comment = "Full-featured Subsonic/Jellyfin compatible desktop music player";
icon = pname;
icon = "feishin";
exec = "feishin %u";
categories = [
"Audio"
Expand Down

0 comments on commit 1605373

Please sign in to comment.