grass: code cleanup
* remove redundant `with` * get correct package version using `finalAttrs`
This commit is contained in:
parent
02aceb0307
commit
96bdf87dfe
1 changed files with 3 additions and 3 deletions
|
@ -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=";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue