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,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, deprecation
|
||||
, pythonOlder
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, tomlkit
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-packaging";
|
||||
version = "0.12.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_packaging";
|
||||
inherit version;
|
||||
sha256 = "sha256-snRV1grck6e6ouC484a+gbkyu048ARYEbfntIwzT+qw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ deprecation packaging tomlkit ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# disable tests depending on network connection
|
||||
"test_develop"
|
||||
"test_install"
|
||||
# Avoid unmainted "mocker" fixture library, and calls to dependent "build" module
|
||||
"test_build"
|
||||
"test_npm_build"
|
||||
"test_create_cmdclass"
|
||||
"test_ensure_with_skip_npm"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jupyter_packaging" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter Packaging Utilities";
|
||||
homepage = "https://github.com/jupyter/jupyter-packaging";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.elohmeier ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue