about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-01-28 23:11:54 -0300
committerGitHub <noreply@github.com>2023-01-28 23:11:54 -0300
commit4cfbb8e9ae37a9c2a206d6a772890988c091e1d4 (patch)
tree13289f7e35494918566d6e8f7cfa76783cbe9b23 /pkgs
parent70eb1de7196f13f7aa53457c5554e000f807fadf (diff)
parentd6cb3d2b8ab808556e87d1a80a60bcf8640c325e (diff)
Merge pull request #213250 from atorres1985-contrib/mpv
Mpv changelog
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/video/mpv/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index 7f6fd0b286f49..8bd6713d9ccb2 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -80,7 +80,7 @@
 let
   inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer;
   luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation (self: {
   pname = "mpv";
   version = "0.35.0";
 
@@ -89,7 +89,7 @@ in stdenv.mkDerivation rec {
   src = fetchFromGitHub {
     owner = "mpv-player";
     repo = "mpv";
-    rev = "v${version}";
+    rev = "v${self.version}";
     sha256 = "sha256-U3NDSxlX4/WkoHFkOvpcwPMwfwTnSpCw0QI5yLMK08o=";
   };
 
@@ -216,8 +216,9 @@ in stdenv.mkDerivation rec {
       mpv is a free and open-source general-purpose video player, based on the
       MPlayer and mplayer2 projects, with great improvements above both.
     '';
+    changelog = "https://github.com/mpv-player/mpv/releases/tag/v${self.version}";
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ];
     platforms = platforms.unix;
   };
-}
+})