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
42
pkgs/development/python-modules/jsonpath-ng/default.nix
Normal file
42
pkgs/development/python-modules/jsonpath-ng/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, decorator
|
||||
, fetchFromGitHub
|
||||
, ply
|
||||
, pytestCheckHook
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonpath-ng";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "h2non";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1cxjwhx0nj85a3awnl7j6afnk07awzv45qfwxl5jqbbc9cxh5bd6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
decorator
|
||||
ply
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Exclude tests that require oslotest
|
||||
"tests/test_jsonpath_rw_ext.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jsonpath_ng" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSONPath implementation for Python";
|
||||
homepage = "https://github.com/h2non/jsonpath-ng";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue