mpv: change self to finalAttrs
This commit is contained in:
parent
aa16ab8a04
commit
bc28e20568
1 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ let
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks)
|
inherit (darwin.apple_sdk_11_0.frameworks)
|
||||||
AVFoundation CoreFoundation CoreMedia Cocoa CoreAudio MediaPlayer Accelerate;
|
AVFoundation CoreFoundation CoreMedia Cocoa CoreAudio MediaPlayer Accelerate;
|
||||||
luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);
|
luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);
|
||||||
in stdenv.mkDerivation (self: {
|
in stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mpv";
|
pname = "mpv";
|
||||||
version = "0.35.1";
|
version = "0.35.1";
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ in stdenv.mkDerivation (self: {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mpv-player";
|
owner = "mpv-player";
|
||||||
repo = "mpv";
|
repo = "mpv";
|
||||||
rev = "v${self.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-CoYTX9hgxLo72YdMoa0sEywg4kybHbFsypHk1rCM6tM=";
|
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
|
mpv is a free and open-source general-purpose video player, based on the
|
||||||
MPlayer and mplayer2 projects, with great improvements above both.
|
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;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ];
|
maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
Loading…
Reference in a new issue