python313Packages.astropy-healpix: migrate to finalAttrs
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
hypothesis,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "astropy-healpix";
|
||||
version = "1.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = lib.replaceStrings [ "-" ] [ "_" ] pname;
|
||||
inherit (finalAttrs) version;
|
||||
pname = "astropy_healpix";
|
||||
hash = "sha256-9SDYOr6CFdPo4aN7K9kRce42pvVfEQ1aLbhj112Bs7c=";
|
||||
};
|
||||
|
||||
@@ -52,8 +52,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "BSD-licensed HEALPix for Astropy";
|
||||
homepage = "https://github.com/astropy/astropy-healpix";
|
||||
changelog = "https://github.com/astropy/astropy-healpix/blob/v${version}/CHANGES.rst";
|
||||
changelog = "https://github.com/astropy/astropy-healpix/blob/v${finalAttrs.version}/CHANGES.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.smaret ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user