duktape: use finalAttrs pattern
This commit is contained in:
parent
462e2129e2
commit
824d4ac8ca
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
{ lib, stdenv, fetchurl, validatePkgConfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "duktape";
|
||||
version = "2.7.0";
|
||||
src = fetchurl {
|
||||
url = "http://duktape.org/duktape-${version}.tar.xz";
|
||||
url = "http://duktape.org/duktape-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-kPjS+otVZ8aJmDDd7ywD88J5YLEayiIvoXqnrGE8KJA=";
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,4 @@ stdenv.mkDerivation rec {
|
|||
mainProgram = "duk";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue