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
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, attrs
|
||||
, jsonpickle
|
||||
, pbr
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jschema-to-python";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jschema_to_python";
|
||||
inherit version;
|
||||
sha256 = "76ff14fe5d304708ccad1284e4b11f96a658949a31ee7faed9e0995279549b91";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
jsonpickle
|
||||
pbr
|
||||
];
|
||||
|
||||
checkInputs =[
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jschema_to_python" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate source code for Python classes from a JSON schema";
|
||||
homepage = "https://github.com/microsoft/jschema-to-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue