labwc: change self to finalAttrs

This commit is contained in:
Anderson Torres 2023-04-16 17:48:46 -03:00
parent b14126f2a8
commit ee65bb73ee

View File

@ -23,14 +23,14 @@
let let
wlroots = wlroots_0_16; wlroots = wlroots_0_16;
in in
stdenv.mkDerivation (self: { stdenv.mkDerivation (finalAttrs: {
pname = "labwc"; pname = "labwc";
version = "0.6.2"; version = "0.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "labwc"; owner = "labwc";
repo = "labwc"; repo = "labwc";
rev = self.version; rev = finalAttrs.version;
hash = "sha256-yZ1tXx7AA9pFc5C6c/J3B03/TfXw1PsAunNNiee3BGU="; hash = "sha256-yZ1tXx7AA9pFc5C6c/J3B03/TfXw1PsAunNNiee3BGU=";
}; };
@ -64,7 +64,7 @@ stdenv.mkDerivation (self: {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/labwc/labwc"; homepage = "https://github.com/labwc/labwc";
description = "A Wayland stacking compositor, similar to Openbox"; description = "A Wayland stacking compositor, similar to Openbox";
changelog = "https://raw.githubusercontent.com/labwc/labwc/${self.version}/NEWS.md"; changelog = "https://raw.githubusercontent.com/labwc/labwc/${finalAttrs.version}/NEWS.md";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
inherit (wayland.meta) platforms; inherit (wayland.meta) platforms;