python312Packages.radio-beam: Fix build
Closes #298597. Co-authored-by: Robert Schütz <github@dotlambda.de>
This commit is contained in:
parent
f20d4079ee
commit
e487bc2ae1
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch2
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, astropy
|
, astropy
|
||||||
|
@ -21,6 +22,15 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-7AFkuuYLzibwwgz6zrFw0fBXCnGLzdm4OgT+Chve5jU=";
|
hash = "sha256-7AFkuuYLzibwwgz6zrFw0fBXCnGLzdm4OgT+Chve5jU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Fix distutils deprecation in Python 3.12. See:
|
||||||
|
# https://github.com/radio-astro-tools/radio-beam/pull/124
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/radio-astro-tools/radio-beam/commit/1eb0216c8d7f5a4494d8d1fe8c79b48425a9c491.patch";
|
||||||
|
hash = "sha256-kTJF/cnkJCjJI2psvs+4MWFn/+b8TvUWjdfYu5ot0XU=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
@ -50,5 +60,3 @@ buildPythonPackage rec {
|
||||||
maintainers = with maintainers; [ smaret ];
|
maintainers = with maintainers; [ smaret ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user