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
48
pkgs/development/python-modules/anyconfig/default.nix
Normal file
48
pkgs/development/python-modules/anyconfig/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyconfig";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-A/8uF2KvOI+7vtHBq3+fHsAGqR2n2zpouWPabneV0qw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=src -vv" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# OSError: /build/anyconfig-0.12.0/tests/res/cli/no_template/10/e/10.* should exists but not
|
||||
"test_runs_for_datasets"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# NameError: name 'TT' is not defined
|
||||
"tests/schema/test_jsonschema.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "anyconfig" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library provides common APIs to load and dump configuration files in various formats";
|
||||
homepage = "https://github.com/ssato/python-anyconfig";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tboerger ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue