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
42
pkgs/development/python-modules/magicgui/default.nix
Normal file
42
pkgs/development/python-modules/magicgui/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, pytest-mypy-plugins
|
||||
, typing-extensions
|
||||
, qtpy
|
||||
, pyside2
|
||||
, psygnal
|
||||
, docstring-parser
|
||||
, napari # a reverse-dependency, for tests
|
||||
}: buildPythonPackage rec {
|
||||
pname = "magicgui";
|
||||
version = "0.3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "napari";
|
||||
repo = "magicgui";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LYXNNr5lS3ibQk2NIopZkB8kzC7j3yY8moGMk0Gr+hU=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ typing-extensions qtpy pyside2 psygnal docstring-parser ];
|
||||
checkInputs = [ pytestCheckHook pytest-mypy-plugins ];
|
||||
|
||||
doCheck = false; # Reports "Fatal Python error"
|
||||
|
||||
passthru.tests = { inherit napari; };
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue