python3Packages.magicgui: init at 0.3.0
This commit is contained in:
parent
9b14333213
commit
3fa7d0a2d2
33
pkgs/development/python-modules/magicgui/default.nix
Normal file
33
pkgs/development/python-modules/magicgui/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools_scm
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-mypy-plugins
|
||||||
|
, typing-extensions
|
||||||
|
, qtpy
|
||||||
|
, pyside2
|
||||||
|
, psygnal
|
||||||
|
, docstring-parser
|
||||||
|
}: buildPythonPackage rec {
|
||||||
|
pname = "magicgui";
|
||||||
|
version = "0.3.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "napari";
|
||||||
|
repo = "magicgui";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-DvL1szk2RoCrpisjp0BVNL6qFZtYc2oYDenX59Cxbug=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
propagatedBuildInputs = [ typing-extensions qtpy pyside2 psygnal docstring-parser ];
|
||||||
|
checkInputs = [ pytestCheckHook pytest-mypy-plugins ];
|
||||||
|
doCheck = false; # Reports "Fatal Python error"
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Build GUIs from python functions, using magic. (napari/magicgui)";
|
||||||
|
homepage = "https://github.com/napari/magicgui";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SomeoneSerge ];
|
||||||
|
};
|
||||||
|
}
|
@ -4733,6 +4733,8 @@ in {
|
|||||||
|
|
||||||
magic = callPackage ../development/python-modules/magic { };
|
magic = callPackage ../development/python-modules/magic { };
|
||||||
|
|
||||||
|
magicgui = callPackage ../development/python-modules/magicgui { };
|
||||||
|
|
||||||
magic-wormhole = callPackage ../development/python-modules/magic-wormhole { };
|
magic-wormhole = callPackage ../development/python-modules/magic-wormhole { };
|
||||||
|
|
||||||
magic-wormhole-mailbox-server = callPackage ../development/python-modules/magic-wormhole-mailbox-server { };
|
magic-wormhole-mailbox-server = callPackage ../development/python-modules/magic-wormhole-mailbox-server { };
|
||||||
|
Loading…
Reference in New Issue
Block a user