gnonograms: use finalAttrs pattern
This commit is contained in:
parent
bbc575d87c
commit
3170348e5b
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue