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
66
pkgs/development/python-modules/stack-data/default.nix
Normal file
66
pkgs/development/python-modules/stack-data/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ asttokens
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, executing
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, lib
|
||||
, littleutils
|
||||
, pure-eval
|
||||
, pygments
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
, toml
|
||||
, typeguard
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stack-data";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexmojaki";
|
||||
repo = "stack_data";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-brXFrk1UU5hxCVeRvGK7wzRA0Hoj9fgqoxTIwInPrEc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
setuptools-scm
|
||||
toml
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asttokens
|
||||
executing
|
||||
pure-eval
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
cython
|
||||
littleutils
|
||||
pygments
|
||||
pytestCheckHook
|
||||
typeguard
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError
|
||||
"test_example"
|
||||
"test_executing_style_defs"
|
||||
"test_pygments_example"
|
||||
"test_variables"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stack_data" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extract data from stack frames and tracebacks";
|
||||
homepage = "https://github.com/alexmojaki/stack_data/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue