Merge pull request #310365 from fabaff/app-model-bump
python312Packages.app-model: 0.2.6 -> 0.2.7
This commit is contained in:
commit
0df408b18c
@ -1,20 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, in-n-out
|
||||
, psygnal
|
||||
, pydantic
|
||||
, pydantic-compat
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
in-n-out,
|
||||
psygnal,
|
||||
pydantic,
|
||||
pydantic-compat,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "app-model";
|
||||
version = "0.2.6";
|
||||
version = "0.2.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -23,15 +24,15 @@ buildPythonPackage rec {
|
||||
owner = "pyapp-kit";
|
||||
repo = "app-model";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EMlxY9Xna9e3kWJ7X8oRuLHEmivwVFcEXRDvZfN2rNY=";
|
||||
hash = "sha256-ISMSt7c8CoxffMhg7XC/ebKkgXFTBihDr1fGkqMCBoc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
psygnal
|
||||
pydantic
|
||||
pydantic-compat
|
||||
@ -39,13 +40,9 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"app_model"
|
||||
];
|
||||
pythonImportsCheck = [ "app_model" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to implement generic application schema";
|
||||
|
@ -1,47 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, imageio
|
||||
, ipykernel
|
||||
, ipython
|
||||
, napari-plugin-engine
|
||||
, pythonOlder
|
||||
, qtconsole
|
||||
, setuptools-scm
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
imageio,
|
||||
ipykernel,
|
||||
ipython,
|
||||
napari-plugin-engine,
|
||||
pythonOlder,
|
||||
qtconsole,
|
||||
qtpy,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "napari-console";
|
||||
version = "0.0.7";
|
||||
format = "pyproject";
|
||||
version = "0.0.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = pname;
|
||||
repo = "napari-console";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vHLCVMgrcs54pGb48wQpc0h7QBIfE6r7hCSoDNI3QvA=";
|
||||
hash = "sha256-3gOfiPx06G5c4eaLQ5kP45hUr6yw91esznJFacpO66Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
imageio
|
||||
dependencies = [
|
||||
ipykernel
|
||||
ipython
|
||||
napari-plugin-engine
|
||||
qtconsole
|
||||
qtpy
|
||||
];
|
||||
|
||||
# Circular dependency: napari
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"napari_console"
|
||||
];
|
||||
pythonImportsCheck = [ "napari_console" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A plugin that adds a console to napari";
|
||||
|
@ -1,67 +1,69 @@
|
||||
{ lib
|
||||
, mkDerivationWith
|
||||
, appdirs
|
||||
, app-model
|
||||
, buildPythonPackage
|
||||
, cachey
|
||||
, certifi
|
||||
, dask
|
||||
, docstring-parser
|
||||
, fetchFromGitHub
|
||||
, imageio
|
||||
, jsonschema
|
||||
, magicgui
|
||||
, napari-console
|
||||
, napari-npe2
|
||||
, napari-svg
|
||||
, numpydoc
|
||||
, pint
|
||||
, psutil
|
||||
, pydantic
|
||||
, pyopengl
|
||||
, pillow
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, scikit-image
|
||||
, scipy
|
||||
, setuptools-scm
|
||||
, sphinx
|
||||
, superqt
|
||||
, tifffile
|
||||
, toolz
|
||||
, tqdm
|
||||
, typing-extensions
|
||||
, vispy
|
||||
, wrapQtAppsHook
|
||||
, wrapt
|
||||
{
|
||||
lib,
|
||||
app-model,
|
||||
appdirs,
|
||||
buildPythonPackage,
|
||||
cachey,
|
||||
certifi,
|
||||
dask,
|
||||
docstring-parser,
|
||||
fetchFromGitHub,
|
||||
imageio,
|
||||
jsonschema,
|
||||
magicgui,
|
||||
mkDerivationWith,
|
||||
napari-console,
|
||||
napari-npe2,
|
||||
napari-svg,
|
||||
numpydoc,
|
||||
pandas,
|
||||
pillow,
|
||||
pint,
|
||||
psutil,
|
||||
pydantic,
|
||||
pyopengl,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
scikit-image,
|
||||
scipy,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
superqt,
|
||||
tifffile,
|
||||
toolz,
|
||||
tqdm,
|
||||
typing-extensions,
|
||||
vispy,
|
||||
wrapQtAppsHook,
|
||||
wrapt,
|
||||
}:
|
||||
|
||||
mkDerivationWith buildPythonPackage rec {
|
||||
pname = "napari";
|
||||
version = "0.4.19.post1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = pname;
|
||||
repo = "napari";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qw5WdFPySNkmm+dNu+hqsmr+csBpHnSl9bMpb4nKEqI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "scikit-image>=0.19.1" "scikit-image" \
|
||||
--replace "sphinx<5" "sphinx" \
|
||||
--replace "vispy>=0.11.0,<0.12" "vispy"
|
||||
--replace-fail "scikit-image[data]>=0.19.1" "scikit-image"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
app-model
|
||||
appdirs
|
||||
@ -76,15 +78,15 @@ mkDerivationWith buildPythonPackage rec {
|
||||
napari-npe2
|
||||
napari-svg
|
||||
numpydoc
|
||||
pint
|
||||
pandas
|
||||
pillow
|
||||
pint
|
||||
psutil
|
||||
pydantic
|
||||
pyopengl
|
||||
pyyaml
|
||||
scikit-image
|
||||
scipy
|
||||
sphinx
|
||||
superqt
|
||||
tifffile
|
||||
toolz
|
||||
|
@ -1,44 +1,66 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, pyqt5
|
||||
, qtpy
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
, pygments
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
pint,
|
||||
pygments,
|
||||
pyqt5,
|
||||
pyqt6,
|
||||
pyside2,
|
||||
pyside6,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
qtpy,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "superqt";
|
||||
version = "0.3.8";
|
||||
format = "pyproject";
|
||||
version = "0.6.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = pname;
|
||||
owner = "pyapp-kit";
|
||||
repo = "superqt";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zEMG2zscGDlRxtLn/lUTEjZBPabcwzMcj/kMcy3yOs8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
pygments
|
||||
pyqt5
|
||||
qtpy
|
||||
typing-extensions
|
||||
pygments
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
quantity = [ pint ];
|
||||
pyside2 = [ pyside2 ];
|
||||
pyside6 = [ pyside6 ];
|
||||
pyqt6 = [ pyqt6 ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
doCheck = false; # Segfaults...
|
||||
# Segmentation fault
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "superqt" ];
|
||||
# Segmentation fault
|
||||
# pythonImportsCheck = [ "superqt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Missing widgets and components for Qt-python (napari/superqt)";
|
||||
homepage = "https://github.com/napari/superqt";
|
||||
changelog = "https://github.com/pyapp-kit/superqt/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SomeoneSerge ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user