mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
grass: code cleanup
* remove redundant `with` * get correct package version using `finalAttrs`
This commit is contained in:
parent
02aceb0307
commit
96bdf87dfe
@ -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 New Issue
Block a user