smplayer: fetchFromGitHub: rev -> tag

Inspired by
https://github.com/NixOS/nixpkgs/commit/cb9f9a1e5a51a87d59b373db7016cee1608debd5
This commit is contained in:
Yarny0
2025-06-15 08:46:37 +02:00
parent f16b695b98
commit 3420cab114
+2 -2
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "smplayer-dev";
repo = "smplayer";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-txGz6v9hkvnrmVmBHsi1B2eC/iNT1tg4dU5AcMsSCic=";
};
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
options of MPlayer, SMPlayer adds other interesting features like the
possibility to play Youtube videos or download subtitles.
'';
changelog = "https://github.com/smplayer-dev/smplayer/releases/tag/${finalAttrs.src.rev}";
changelog = "https://github.com/smplayer-dev/smplayer/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.linux;