mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
gnonograms: use finalAttrs pattern
This commit is contained in:
parent
bbc575d87c
commit
3170348e5b
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue