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,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ddt
|
||||
, keystoneauth1
|
||||
, oslo-i18n
|
||||
, oslo-serialization
|
||||
, oslo-utils
|
||||
, pbr
|
||||
, requests
|
||||
, prettytable
|
||||
, requests-mock
|
||||
, simplejson
|
||||
, stestr
|
||||
, stevedore
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-cinderclient";
|
||||
version = "8.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4AEDh1Ap3IXLtZEx0AzMhTT2kpVqzeMrWjzFr0wkWAs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
simplejson
|
||||
keystoneauth1
|
||||
oslo-i18n
|
||||
oslo-utils
|
||||
pbr
|
||||
prettytable
|
||||
requests
|
||||
stevedore
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
ddt
|
||||
oslo-serialization
|
||||
requests-mock
|
||||
stestr
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "cinderclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenStack Block Storage API Client Library";
|
||||
homepage = "https://github.com/openstack/python-cinderclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue