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
59
pkgs/development/python-modules/pep517/default.nix
Normal file
59
pkgs/development/python-modules/pep517/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flit-core
|
||||
, tomli
|
||||
, pythonOlder
|
||||
, importlib-metadata
|
||||
, zipp
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, testpath
|
||||
, mock
|
||||
, pip
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pep517";
|
||||
version = "0.12.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "931378d93d11b298cf511dd634cf5ea4cb249a28ef84160b3247ee9afb4e8ab0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
tomli
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata zipp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
setuptools
|
||||
testpath
|
||||
mock
|
||||
pip
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_setup_py"
|
||||
"test_issue_104"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
rm pytest.ini # wants flake8
|
||||
rm tests/test_meta.py # wants to run pip
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Wrappers to build Python packages using PEP 517 hooks";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/pypa/pep517";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue