27 stdenv.mkDerivation rec {
31 src = fetchFromGitHub {
34 rev = "refs/tags/${version}";
35 hash = "sha256-7zWK0wkh53ojnoznv4T/X//JeyKJVKOrfYF0IkvciIY=";
38 cargoDeps = rustPlatform.fetchCargoTarball {
39 inherit pname version src;
40 hash = "sha256-AaRmTOgFmBi0s1zdIVHc6bLjrUopy9YuB3GJOCnbjU4=";
49 glib # for glib-compile-schemas
50 gtk4 # for gtk-update-icon-cache
54 rustPlatform.cargoSetupHook
62 gst_all_1.gst-plugins-base
71 # https://github.com/xou816/spot/issues/313
72 mesonBuildType = "release";
75 updateScript = nix-update-script { };
79 description = "Native Spotify client for the GNOME desktop";
80 homepage = "https://github.com/xou816/spot";
81 changelog = "https://github.com/xou816/spot/releases/tag/${src.rev}";
82 license = lib.licenses.mit;
83 maintainers = with lib.maintainers; [ getchoo ];
85 platforms = lib.platforms.linux;