mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 05:39:58 +00:00
napari: migrate to qt6
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
mkDerivationWith,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
@@ -9,7 +8,7 @@
|
||||
setuptools-scm,
|
||||
|
||||
# nativeBuildInputs
|
||||
wrapQtAppsHook,
|
||||
qt6,
|
||||
|
||||
# dependencies
|
||||
app-model,
|
||||
@@ -54,7 +53,7 @@
|
||||
zarr,
|
||||
}:
|
||||
|
||||
mkDerivationWith buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "napari";
|
||||
version = "0.6.6";
|
||||
pyproject = true;
|
||||
@@ -76,7 +75,11 @@ mkDerivationWith buildPythonPackage rec {
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [
|
||||
qt6.qtbase
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"app-model"
|
||||
|
||||
@@ -10667,9 +10667,7 @@ self: super: with self; {
|
||||
|
||||
napalm-ros = callPackage ../development/python-modules/napalm/ros.nix { };
|
||||
|
||||
napari = callPackage ../development/python-modules/napari {
|
||||
inherit (pkgs.libsForQt5) mkDerivationWith wrapQtAppsHook;
|
||||
};
|
||||
napari = callPackage ../development/python-modules/napari { };
|
||||
|
||||
napari-console = callPackage ../development/python-modules/napari-console { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user