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