switch back to nixfmt

This commit is contained in:
Sean Kovacs 2026-01-19 22:27:28 -05:00
commit 62032eab6d
Signed by: sckova
GPG key ID: 00F325187C68651A
37 changed files with 797 additions and 689 deletions

View file

@ -1,5 +1,5 @@
final: prev: {
spotify-webapp = final.callPackage ./spotify-webapp {};
spotify-webapp = final.callPackage ./spotify-webapp { };
catppuccin-discord = final.callPackage ./catppuccin-discord {
inherit (final) catppuccin-discord-git;

View file

@ -5,7 +5,8 @@
copyDesktopItems,
chromium,
writeShellScriptBin,
}: let
}:
let
pname = "spotify-webapp";
version = "1.0.0";
@ -24,48 +25,48 @@
"$@"
'';
in
stdenv.mkDerivation {
inherit pname version;
stdenv.mkDerivation {
inherit pname version;
dontUnpack = true;
dontBuild = true;
dontUnpack = true;
dontBuild = true;
nativeBuildInputs = [copyDesktopItems];
nativeBuildInputs = [ copyDesktopItems ];
desktopItems = [
(makeDesktopItem {
name = "spotify-webapp";
exec = "spotify-webapp %U";
icon = "spotify";
desktopName = "Spotify";
genericName = "Music Streaming";
comment = "Listen to music on Spotify";
categories = [
"Audio"
"Music"
"AudioVideo"
];
mimeTypes = ["x-scheme-handler/spotify"];
startupWMClass = "spotify-webapp";
startupNotify = true;
})
];
desktopItems = [
(makeDesktopItem {
name = "spotify-webapp";
exec = "spotify-webapp %U";
icon = "spotify";
desktopName = "Spotify";
genericName = "Music Streaming";
comment = "Listen to music on Spotify";
categories = [
"Audio"
"Music"
"AudioVideo"
];
mimeTypes = [ "x-scheme-handler/spotify" ];
startupWMClass = "spotify-webapp";
startupNotify = true;
})
];
installPhase = ''
runHook preInstall
installPhase = ''
runHook preInstall
mkdir -p $out/bin
ln -s ${launchScript}/bin/spotify-webapp $out/bin/spotify-webapp
mkdir -p $out/bin
ln -s ${launchScript}/bin/spotify-webapp $out/bin/spotify-webapp
runHook postInstall
'';
runHook postInstall
'';
meta = with lib; {
description = "Spotify web app running in Chromium";
homepage = "https://open.spotify.com";
license = licenses.free;
maintainers = [];
platforms = platforms.linux;
mainProgram = "spotify-webapp";
};
}
meta = with lib; {
description = "Spotify web app running in Chromium";
homepage = "https://open.spotify.com";
license = licenses.free;
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "spotify-webapp";
};
}