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
76
pkgs/development/python-modules/jupyterlab-git/default.nix
Normal file
76
pkgs/development/python-modules/jupyterlab-git/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, git
|
||||
, jupyter_server
|
||||
, jupyter-packaging
|
||||
, jupyterlab
|
||||
, nbdime
|
||||
, nbformat
|
||||
, pexpect
|
||||
, pytest-asyncio
|
||||
, pytest-tornasync
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab-git";
|
||||
version = "0.36.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyterlab_git";
|
||||
inherit version;
|
||||
sha256 = "sha256-K+h1ra9PsqKlSSPnc1jgSODICv3FoEdwqBGYWQYs6wE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
jupyter-packaging
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jupyter_server
|
||||
nbdime
|
||||
git
|
||||
nbformat
|
||||
pexpect
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
jupyterlab
|
||||
pytest-asyncio
|
||||
pytest-tornasync
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# All Tests on darwin fail or are skipped due to sandbox
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
disabledTestPaths = [
|
||||
"jupyterlab_git/tests/test_handlers.py"
|
||||
# PyPI doesn't ship all required files for the tests
|
||||
"jupyterlab_git/tests/test_config.py"
|
||||
"jupyterlab_git/tests/test_integrations.py"
|
||||
"jupyterlab_git/tests/test_remote.py"
|
||||
"jupyterlab_git/tests/test_settings.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_Git_get_nbdiff_file"
|
||||
"test_Git_get_nbdiff_dict"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jupyterlab_git"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter lab extension for version control with Git";
|
||||
homepage = "https://github.com/jupyterlab/jupyterlab-git";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ chiroptical ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue