gnonograms: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:30:04 +01:00
parent bbc575d87c
commit 3170348e5b

View file

@ -16,14 +16,14 @@
, libhandy
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnonograms";
version = "2.1.2";
src = fetchFromGitHub {
owner = "jeremypw";
repo = "gnonograms";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-TkEVjrwlr4Q5FsfcdY+9fxwaMq+DFs0RwGI2E+GT5Mk=";
};
@ -63,4 +63,4 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jeremypw/gnonograms";
platforms = platforms.all;
};
}
})