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
|
|
@ -0,0 +1,54 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jsonschema
|
||||
, pythonOlder
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pyjson5
|
||||
, babel
|
||||
, jupyter_server
|
||||
, openapi-core
|
||||
, pytest-tornasync
|
||||
, ruamel-yaml
|
||||
, strict-rfc3339
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab_server";
|
||||
version = "2.12.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-AOD0tMOZ9Vk4Mj6hDPktkVKI/hJ1PjXRBp9soItyq78=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov jupyterlab_server --cov-report term-missing --cov-report term:skip-covered" ""
|
||||
|
||||
# translation tests try to install additional packages into read only paths
|
||||
rm -r tests/translations/
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests jsonschema pyjson5 babel jupyter_server ];
|
||||
|
||||
checkInputs = [
|
||||
openapi-core
|
||||
pytestCheckHook
|
||||
pytest-tornasync
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "JupyterLab Server";
|
||||
homepage = "https://jupyter.org";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue