termbox: use finalAttrs pattern
This commit is contained in:
parent
09f21aebb9
commit
4ecdc0da1c
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
{ lib, stdenv, fetchFromGitHub }:
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "termbox";
|
pname = "termbox";
|
||||||
version = "1.1.4";
|
version = "1.1.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "termbox";
|
owner = "termbox";
|
||||||
repo = "termbox";
|
repo = "termbox";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
|
sha256 = "075swv6ajx8m424dbmgbf6fs6nd5q004gjpvx48gkxmnf9spvykl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,4 +19,4 @@ stdenv.mkDerivation rec {
|
||||||
downloadPage = "https://github.com/termbox/termbox/releases";
|
downloadPage = "https://github.com/termbox/termbox/releases";
|
||||||
maintainers = with maintainers; [ fgaz ];
|
maintainers = with maintainers; [ fgaz ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue