pr2-clone: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 15:38:20 +01:00
parent b60f8fb6ca
commit 58316e3a9e

View File

@ -6,14 +6,14 @@
, SDL2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "pt2-clone";
version = "1.66.1";
src = fetchFromGitHub {
owner = "8bitbubsy";
repo = "pt2-clone";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-j7VPC1sj1Q+wL2TBgv06uYLPqym8F57HG1SRvj0Ggeo=";
};
@ -40,5 +40,4 @@ stdenv.mkDerivation rec {
# > This code is NOT big-endian compatible
platforms = platforms.littleEndian;
};
}
})