xprintidle: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:49:03 +01:00
parent 6b1fbdad14
commit 8192981216

View file

@ -7,14 +7,14 @@
, xorg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "xprintidle";
version = "0.2.5";
src = fetchFromGitHub {
owner = "g0hl1n";
repo = "xprintidle";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-bafDUZoSFsJ3g6mtLCRechGizfrWg2qW2vnlfIzj7mQ=";
};
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
mainProgram = "xprintidle";
};
}
})