onthespot: specify license

- add changelog to meta

+9 -8
+9 -8
pkgs/applications/misc/onthespot/default.nix
··· 1 1 { lib 2 - , python3 3 - , fetchFromGitHub 4 2 , copyDesktopItems 5 - , wrapQtAppsHook 3 + , fetchFromGitHub 6 4 , makeDesktopItem 5 + , python3 6 + , wrapQtAppsHook 7 7 }: 8 8 9 9 python3.pkgs.buildPythonApplication rec { ··· 14 14 src = fetchFromGitHub { 15 15 owner = "casualsnek"; 16 16 repo = "onthespot"; 17 - rev = "v${version}"; 17 + rev = "refs/tags/v${version}"; 18 18 hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg="; 19 19 }; 20 20 ··· 54 54 makeWrapperArgs+=("''${qtWrapperArgs[@]}") 55 55 ''; 56 56 57 - meta = { 57 + meta = with lib; { 58 58 description = " QT based Spotify music downloader written in Python"; 59 59 homepage = "https://github.com/casualsnek/onthespot"; 60 - license = lib.licenses.gpl2; 61 - maintainers = with lib.maintainers; [ onny ]; 62 - platforms = lib.platforms.linux; 60 + changelog = "https://github.com/casualsnek/onthespot/releases/tag/v${version}"; 61 + license = licenses.gpl2Only; 62 + maintainers = with maintainers; [ onny ]; 63 + platforms = platforms.linux; 63 64 }; 64 65 }