chessx: replace rec with finalAttrs idiom

This commit is contained in:
éclairevoyant 2023-08-18 22:53:22 -04:00
parent c0b3521ea9
commit 8c7a4fdb25
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -12,12 +12,12 @@
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "chessx";
version = "1.6.0";
src = fetchurl {
url = "mirror://sourceforge/chessx/chessx-${version}.tgz";
url = "mirror://sourceforge/chessx/chessx-${finalAttrs.version}.tgz";
hash = "sha256-76YOe1WpB+vdEoEKGTHeaWJLpCVE4RoyYu1WLy3Dxhg=";
};
@ -70,4 +70,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
mainProgram = "chessx";
};
}
})