mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
mpv: change self to finalAttrs
This commit is contained in:
parent
aa16ab8a04
commit
bc28e20568
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user