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,62 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ddt
|
||||
, iso8601
|
||||
, keystoneauth1
|
||||
, openssl
|
||||
, oslo-i18n
|
||||
, oslo-serialization
|
||||
, pbr
|
||||
, prettytable
|
||||
, pythonOlder
|
||||
, requests-mock
|
||||
, stestr
|
||||
, testscenarios
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-novaclient";
|
||||
version = "18.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6esqm9ukZNggwQB3XDwvZJMIjfZq8T37kyXMa4ZcjSM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
iso8601
|
||||
keystoneauth1
|
||||
oslo-i18n
|
||||
oslo-serialization
|
||||
pbr
|
||||
prettytable
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
ddt
|
||||
openssl
|
||||
requests-mock
|
||||
stestr
|
||||
testscenarios
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run -e <(echo "
|
||||
novaclient.tests.unit.test_shell.ShellTest.test_osprofiler
|
||||
novaclient.tests.unit.test_shell.ShellTestKeystoneV3.test_osprofiler
|
||||
")
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "novaclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for OpenStack Compute API";
|
||||
homepage = "https://github.com/openstack/python-novaclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue