dwl: change self to finalAttrs

This commit is contained in:
Anderson Torres 2023-04-16 17:47:20 -03:00
parent 9f4d408fca
commit 768dce7a0d

View File

@ -22,14 +22,14 @@
let let
wlroots = wlroots_0_16; wlroots = wlroots_0_16;
in in
stdenv.mkDerivation (self: { stdenv.mkDerivation (finalAttrs: {
pname = "dwl"; pname = "dwl";
version = "0.4"; version = "0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "djpohly"; owner = "djpohly";
repo = "dwl"; repo = "dwl";
rev = "v${self.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-OW7K7yMYSzqZWpQ9Vmpy8EgdWvyv3q1uh8A40f6AQF4="; hash = "sha256-OW7K7yMYSzqZWpQ9Vmpy8EgdWvyv3q1uh8A40f6AQF4=";
}; };
@ -87,7 +87,7 @@ stdenv.mkDerivation (self: {
- Limited to 2000 SLOC to promote hackability - Limited to 2000 SLOC to promote hackability
- Tied to as few external dependencies as possible - Tied to as few external dependencies as possible
''; '';
changelog = "https://github.com/djpohly/dwl/releases/tag/v${self.version}"; changelog = "https://github.com/djpohly/dwl/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.AndersonTorres ]; maintainers = [ lib.maintainers.AndersonTorres ];
inherit (wayland.meta) platforms; inherit (wayland.meta) platforms;