a6d62be0d1
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, callPackage
|
|
, fetchPypi
|
|
, appdirs
|
|
, cryptography
|
|
, dogpile-cache
|
|
, jmespath
|
|
, jsonpatch
|
|
, keystoneauth1
|
|
, munch
|
|
, netifaces
|
|
, os-service-types
|
|
, pbr
|
|
, pyyaml
|
|
, requestsexceptions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openstacksdk";
|
|
version = "0.60.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "aa6efead2ac116482f29aecc2c14ba3b4c76a6f8dede93bf296a2b65492ef420";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
appdirs
|
|
cryptography
|
|
dogpile-cache
|
|
jmespath
|
|
jsonpatch
|
|
keystoneauth1
|
|
munch
|
|
netifaces
|
|
os-service-types
|
|
pbr
|
|
requestsexceptions
|
|
pyyaml
|
|
];
|
|
|
|
# Checks moved to 'passthru.tests' to workaround slowness
|
|
doCheck = false;
|
|
|
|
passthru.tests = {
|
|
tests = callPackage ./tests.nix { };
|
|
};
|
|
|
|
pythonImportsCheck = [ "openstack" ];
|
|
|
|
meta = with lib; {
|
|
description = "An SDK for building applications to work with OpenStack";
|
|
homepage = "https://github.com/openstack/openstacksdk";
|
|
license = licenses.asl20;
|
|
maintainers = teams.openstack.members;
|
|
};
|
|
}
|