xprintidle: use finalAttrs pattern

+3 -3
+3 -3
pkgs/tools/X11/xprintidle/default.nix
··· 7 , xorg 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "xprintidle"; 12 version = "0.2.5"; 13 14 src = fetchFromGitHub { 15 owner = "g0hl1n"; 16 repo = "xprintidle"; 17 - rev = version; 18 sha256 = "sha256-bafDUZoSFsJ3g6mtLCRechGizfrWg2qW2vnlfIzj7mQ="; 19 }; 20 ··· 38 platforms = platforms.linux; 39 mainProgram = "xprintidle"; 40 }; 41 - }
··· 7 , xorg 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "xprintidle"; 12 version = "0.2.5"; 13 14 src = fetchFromGitHub { 15 owner = "g0hl1n"; 16 repo = "xprintidle"; 17 + rev = finalAttrs.version; 18 sha256 = "sha256-bafDUZoSFsJ3g6mtLCRechGizfrWg2qW2vnlfIzj7mQ="; 19 }; 20 ··· 38 platforms = platforms.linux; 39 mainProgram = "xprintidle"; 40 }; 41 + })