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
|
||||
, keystoneauth1
|
||||
, openssl
|
||||
, oslo-config
|
||||
, oslo-serialization
|
||||
, pbr
|
||||
, pythonOlder
|
||||
, requests-mock
|
||||
, stestr
|
||||
, testresources
|
||||
, testscenarios
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-keystoneclient";
|
||||
version = "4.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-bX8FxpLn2yaSd4KEx3mubOqLIVmRS0QXpfoL/qHinNw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
keystoneauth1
|
||||
oslo-config
|
||||
oslo-serialization
|
||||
pbr
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
openssl
|
||||
requests-mock
|
||||
stestr
|
||||
testresources
|
||||
testscenarios
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"keystoneclient"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client Library for OpenStack Identity";
|
||||
homepage = "https://github.com/openstack/python-keystoneclient";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue