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,63 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, appdirs
|
||||
, cliff
|
||||
, dogpile-cache
|
||||
, jsonschema
|
||||
, keystoneauth1
|
||||
, openstacksdk
|
||||
, osc-lib
|
||||
, oslo-utils
|
||||
, pyyaml
|
||||
, requests
|
||||
, stevedore
|
||||
, stestr
|
||||
, requests-mock
|
||||
, oslotest
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "python-ironicclient";
|
||||
version = "4.11.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-zGG/3Cq7mARyuGGvqa4KGWFmx/UN+W2KMuy+RNenzXM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pbr
|
||||
appdirs
|
||||
cliff
|
||||
dogpile-cache
|
||||
jsonschema
|
||||
keystoneauth1
|
||||
openstacksdk
|
||||
osc-lib
|
||||
oslo-utils
|
||||
pyyaml
|
||||
requests
|
||||
stevedore
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
stestr
|
||||
requests-mock
|
||||
oslotest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "ironicclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A client for OpenStack bare metal provisioning API, includes a Python module (ironicclient) and CLI (baremetal).";
|
||||
homepage = "https://github.com/openstack/python-ironicclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue