Merge pull request #280323 from NixOS/proj-remove-rec
proj: don't use rec with finalAttrs function
This commit is contained in:
commit
131c833d3e
1 changed files with 3 additions and 3 deletions
|
@ -15,14 +15,14 @@
|
|||
, cacert
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "proj";
|
||||
version = "9.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OSGeo";
|
||||
repo = "PROJ";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-M8Zgy5xnmZu7mzxXXGqaIfe7o7iMf/1sOJVOBsTvtdQ=";
|
||||
};
|
||||
|
||||
|
@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: rec {
|
|||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/OSGeo/PROJ/blob/${src.rev}/NEWS";
|
||||
changelog = "https://github.com/OSGeo/PROJ/blob/${finalAttrs.src.rev}/NEWS";
|
||||
description = "Cartographic Projections Library";
|
||||
homepage = "https://proj.org/";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue