diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-09-02 21:56:53 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-09-02 21:56:53 +0200 |
commit | 0346e4c01db85f93c1f242757cd3d59fc477d014 (patch) | |
tree | ef502d91a7ee863453a1dae0c9462d2e98c1334d /pkgs/applications/science/math | |
parent | b8dcdcc45aa39a1e5587b80930cd17ef15f3424b (diff) | |
download | nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar.gz nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar.bz2 nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar.lz nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar.xz nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.tar.zst nixlib-0346e4c01db85f93c1f242757cd3d59fc477d014.zip |
gretl: use `finalAttrs` pattern
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/gretl/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/gretl/default.nix b/pkgs/applications/science/math/gretl/default.nix index 16a4d71e051f..e5363d4ec577 100644 --- a/pkgs/applications/science/math/gretl/default.nix +++ b/pkgs/applications/science/math/gretl/default.nix @@ -16,12 +16,12 @@ , pkg-config }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gretl"; version = "2023b"; src = fetchurl { - url = "mirror://sourceforge/gretl/${pname}-${version}.tar.xz"; + url = "mirror://sourceforge/gretl/gretl-${finalAttrs.version}.tar.xz"; hash = "sha256-Hf025JjFxde43TN/1m9PeA1uHqxKTZMI8+1qf3XJLGs="; }; @@ -61,4 +61,4 @@ stdenv.mkDerivation rec { maintainers = with lib.maintainers; [ dmrauh ]; platforms = lib.platforms.all; }; -} +}) |