diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-16 17:09:53 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-20 22:22:23 -0300 |
commit | bc28e20568bbe617c85f3fb214b18dccbb6f0f6c (patch) | |
tree | 6057dede905be33deb087bc1c32e3f6e1e87bd68 /pkgs/applications/video/mpv/default.nix | |
parent | aa16ab8a04567793f3253b73ab0f70653fc04fc5 (diff) | |
download | nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar.gz nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar.bz2 nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar.lz nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar.xz nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.tar.zst nixpkgs-bc28e20568bbe617c85f3fb214b18dccbb6f0f6c.zip |
mpv: change self to finalAttrs
Diffstat (limited to 'pkgs/applications/video/mpv/default.nix')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index d36e2b67744..5fdb7d24f38 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -82,7 +82,7 @@ let inherit (darwin.apple_sdk_11_0.frameworks) AVFoundation CoreFoundation CoreMedia Cocoa CoreAudio MediaPlayer Accelerate; luaEnv = lua.withPackages (ps: with ps; [ luasocket ]); -in stdenv.mkDerivation (self: { +in stdenv.mkDerivation (finalAttrs: { pname = "mpv"; version = "0.35.1"; @@ -91,7 +91,7 @@ in stdenv.mkDerivation (self: { src = fetchFromGitHub { owner = "mpv-player"; repo = "mpv"; - rev = "v${self.version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-CoYTX9hgxLo72YdMoa0sEywg4kybHbFsypHk1rCM6tM="; }; @@ -233,7 +233,7 @@ in stdenv.mkDerivation (self: { 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}"; + changelog = "https://github.com/mpv-player/mpv/releases/tag/v${finalAttrs.version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ]; platforms = platforms.unix; |