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
50
pkgs/development/python-modules/asttokens/default.nix
Normal file
50
pkgs/development/python-modules/asttokens/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, setuptools-scm
|
||||
, six
|
||||
, astroid
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asttokens";
|
||||
version = "2.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-mlTBFPAsepSA1WVQkyVGo/H+cdigLxvHzNDuPuNc9NU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
astroid
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test is currently failing on Hydra, works locally
|
||||
"test_slices"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# incompatible with astroid 2.11.0, pins <= 2.5.3
|
||||
"tests/test_astroid.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asttokens" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gristlabs/asttokens";
|
||||
description = "Annotate Python AST trees with source text and token information";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue