depot/third_party/nixpkgs/pkgs/development/python-modules/openstacksdk/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

64 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, callPackage
, fetchPypi
, platformdirs
, cryptography
, dogpile-cache
, jmespath
, jsonpatch
, keystoneauth1
, munch
, netifaces
, os-service-types
, pbr
, pythonOlder
, pyyaml
, requestsexceptions
}:
buildPythonPackage rec {
pname = "openstacksdk";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-aXy2JRXFSNO3/Fyz+GXiebkw05433OsR2HH4H5+lkeg=";
};
propagatedBuildInputs = [
platformdirs
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;
};
}