libresprite: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 15:50:14 +01:00
parent 8591c5902a
commit 0fad8ebe94

View file

@ -27,14 +27,14 @@
, nixosTests
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libresprite";
version = "1.0";
src = fetchFromGitHub {
owner = "LibreSprite";
repo = "LibreSprite";
rev = "v${version}";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
};
@ -118,4 +118,4 @@ stdenv.mkDerivation rec {
# https://github.com/LibreSprite/LibreSprite/issues/308
broken = stdenv.isDarwin;
};
}
})