From 96bdf87dfe76d40197978ec57a00d076ab5aa672 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Sun, 17 Sep 2023 21:07:59 +0200 Subject: grass: code cleanup * remove redundant `with` * get correct package version using `finalAttrs` --- pkgs/applications/gis/grass/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/gis/grass') diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix index 0d16ba036a9c6..654aa6451fd0f 100644 --- a/pkgs/applications/gis/grass/default.nix +++ b/pkgs/applications/gis/grass/default.nix @@ -32,14 +32,14 @@ , zstd }: -stdenv.mkDerivation (finalAttrs: rec { +stdenv.mkDerivation (finalAttrs: { pname = "grass"; version = "8.3.0"; - src = with lib; fetchFromGitHub { + src = fetchFromGitHub { owner = "OSGeo"; repo = "grass"; - rev = version; + rev = finalAttrs.version; hash = "sha256-YHQtvp/AYMWme46yIc4lE/izjqVePnPxn3GY5RRfPq4="; }; -- cgit 1.4.1