11 python3.pkgs.buildPythonApplication rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg=";
26 # Doesn't seem to be used in the sources and causes
31 pythonRelaxDeps = true;
33 nativeBuildInputs = with python3.pkgs; [
35 libsForQt5.wrapQtAppsHook
38 dependencies = with python3.pkgs; [
59 install -Dm444 $src/src/onthespot/resources/icon.png $out/share/icons/hicolor/256x256/apps/onthespot.png
63 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
69 exec = "onthespot_gui";
71 desktopName = "Onthespot";
72 comment = meta.description;
73 categories = [ "Audio" ];
78 description = "QT based Spotify music downloader written in Python";
79 homepage = "https://github.com/casualsnek/onthespot";
80 changelog = "https://github.com/casualsnek/onthespot/releases/tag/v${version}";
81 license = lib.licenses.gpl2Only;
82 maintainers = with lib.maintainers; [ onny ];
83 platforms = lib.platforms.linux;
84 mainProgram = "onthespot_gui";