mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
dfd115a116
Traceback (most recent call last): File "/nix/store/8qkdlyv2ckrimvi50qvl0anzv66jcp2j-python-swiftclient-3.6.0/bin/.swift-wrapped", line 7, in <module> from swiftclient.shell import main File "/nix/store/8qkdlyv2ckrimvi50qvl0anzv66jcp2j-python-swiftclient-3.6.0/lib/python3.7/site-packages/swiftclient/__init__.py", line 20, in <module> from .client import * # noqa File "/nix/store/8qkdlyv2ckrimvi50qvl0anzv66jcp2j-python-swiftclient-3.6.0/lib/python3.7/site-packages/swiftclient/client.py", line 33, in <module> from swiftclient import version as swiftclient_version File "/nix/store/8qkdlyv2ckrimvi50qvl0anzv66jcp2j-python-swiftclient-3.6.0/lib/python3.7/site-packages/swiftclient/version.py", line 15, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'
33 lines
904 B
Nix
33 lines
904 B
Nix
{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "python-swiftclient";
|
|
version = "3.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0sv6z72zdwzwdjng0djk3l2maryn9pz3khf69yq5ig2ycz8hh0qv";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests six pbr setuptools ];
|
|
|
|
# For the tests the following requirements are needed:
|
|
# https://github.com/openstack/python-swiftclient/blob/master/test-requirements.txt
|
|
#
|
|
# The ones missing in nixpkgs (currently) are:
|
|
# - hacking
|
|
# - keystoneauth
|
|
# - oslosphinx
|
|
# - stestr
|
|
# - reno
|
|
# - openstackdocstheme
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = https://github.com/openstack/python-swiftclient;
|
|
description = "Python bindings to the OpenStack Object Storage API";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ c0deaddict ];
|
|
};
|
|
}
|