mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #262811 from mweinelt/napari-npe2-fix
python310Packages.napari-npe2: build with hatchling
This commit is contained in:
commit
326976a696
@ -3,23 +3,22 @@
|
||||
, build
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, hatch-vcs
|
||||
, magicgui
|
||||
, napari # reverse dependency, for tests
|
||||
, psygnal
|
||||
, pydantic
|
||||
, pythonOlder
|
||||
, pytomlpp
|
||||
, pyyaml
|
||||
, rich
|
||||
, setuptools-scm
|
||||
, typer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "napari-npe2";
|
||||
version = "0.7.2";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -30,12 +29,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-PjoLocNTkcAnBNRbPi+MZqZtQ2bjWPIUVz0+k8nIn2A=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
# npe2 *can* build without it,
|
||||
# but then setuptools refuses to acknowledge it when building napari
|
||||
setuptools-scm
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user