uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
84
pkgs/development/python-modules/napari/default.nix
Normal file
84
pkgs/development/python-modules/napari/default.nix
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
{ lib
|
||||
, mkDerivationWith
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, superqt
|
||||
, typing-extensions
|
||||
, tifffile
|
||||
, napari-npe2
|
||||
, pint
|
||||
, pyyaml
|
||||
, numpydoc
|
||||
, dask
|
||||
, magicgui
|
||||
, docstring-parser
|
||||
, appdirs
|
||||
, imageio
|
||||
, pyopengl
|
||||
, cachey
|
||||
, napari-svg
|
||||
, psutil
|
||||
, napari-console
|
||||
, wrapt
|
||||
, pydantic
|
||||
, tqdm
|
||||
, jsonschema
|
||||
, scipy
|
||||
, wrapQtAppsHook
|
||||
}: mkDerivationWith buildPythonPackage rec {
|
||||
pname = "napari";
|
||||
version = "0.4.15";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-52TDMU6box7TA26P0F9ZgPr8fyzYM646lPUfOektOuE=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
wrapQtAppsHook
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
napari-npe2
|
||||
cachey
|
||||
napari-svg
|
||||
napari-console
|
||||
superqt
|
||||
magicgui
|
||||
typing-extensions
|
||||
tifffile
|
||||
pint
|
||||
pyyaml
|
||||
numpydoc
|
||||
dask
|
||||
docstring-parser
|
||||
appdirs
|
||||
imageio
|
||||
pyopengl
|
||||
psutil
|
||||
wrapt
|
||||
pydantic
|
||||
tqdm
|
||||
jsonschema
|
||||
scipy
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
postFixup = ''
|
||||
wrapQtApp $out/bin/napari
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast, interactive, multi-dimensional image viewer for python";
|
||||
homepage = "https://github.com/napari/napari";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SomeoneSerge ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue