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
54
pkgs/development/python-modules/napari-npe2/default.nix
Normal file
54
pkgs/development/python-modules/napari-npe2/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, appdirs
|
||||
, pyyaml
|
||||
, pytomlpp
|
||||
, pydantic
|
||||
, magicgui
|
||||
, typer
|
||||
, setuptools-scm
|
||||
, napari # reverse dependency, for tests
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "napari-npe2";
|
||||
version = "0.3.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = "npe2";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IyDUeztWQ8JWXDo//76iHzAlWWaZP6/0lwCh0eZAZsM=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
# npe2 *can* build without it,
|
||||
# but then setuptools refuses to acknowledge it when building napari
|
||||
setuptools-scm
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
pyyaml
|
||||
pytomlpp
|
||||
pydantic
|
||||
magicgui
|
||||
typer
|
||||
];
|
||||
|
||||
passthru.tests = { inherit napari; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet another plugin system for napari (the image visualizer)";
|
||||
homepage = "https://github.com/napari/npe2";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SomeoneSerge ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue