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
58
pkgs/development/python-modules/envisage/default.nix
Normal file
58
pkgs/development/python-modules/envisage/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, apptools
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ipython
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, traits
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "envisage";
|
||||
version = "6.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
|
||||
};
|
||||
|
||||
# for the optional dependency ipykernel, only versions < 6 are
|
||||
# supported, so it's not included in the tests, and not propagated
|
||||
propagatedBuildInputs = [
|
||||
traits
|
||||
apptools
|
||||
setuptools
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$PWD/HOME
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
ipython
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [
|
||||
# https://github.com/enthought/envisage/issues/455
|
||||
"envisage/tests/test_egg_basket_plugin_manager.py"
|
||||
"envisage/tests/test_egg_plugin_manager.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"envisage"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Framework for building applications whose functionalities can be extended by adding plug-ins";
|
||||
homepage = "https://github.com/enthought/envisage";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with lib.maintainers; [ knedlsepp ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue