Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 84 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{ lib, buildPythonPackage, callPackage, fetchPypi, platformdirs, cryptography, dogpile-cache, jmespath, jsonpatch, keystoneauth1, munch, openstackdocstheme, os-service-types, pbr, psutil, pyyaml, requestsexceptions, setuptools, sphinxHook,}:
buildPythonPackage rec { pname = "openstacksdk"; version = "4.6.0"; pyproject = true;
outputs = [ "out" "man" ];
src = fetchPypi { inherit pname version; hash = "sha256-5H4WbEcy6a6mUijmGNSQ5L5d8GUmobleLVmV19CXfT0="; };
postPatch = '' # Disable rsvgconverter not needed to build manpage substituteInPlace doc/source/conf.py \ --replace-fail "'sphinxcontrib.rsvgconverter'," "#'sphinxcontrib.rsvgconverter'," '';
nativeBuildInputs = [ openstackdocstheme sphinxHook ];
sphinxBuilders = [ "man" ];
build-system = [ setuptools ];
dependencies = [ platformdirs cryptography dogpile-cache jmespath jsonpatch keystoneauth1 munch os-service-types pbr psutil requestsexceptions pyyaml ];
# Checks moved to 'passthru.tests' to workaround slowness doCheck = false;
passthru.tests = { tests = callPackage ./tests.nix { }; };
pythonImportsCheck = [ "openstack" ];
meta = with lib; { description = "SDK for building applications to work with OpenStack"; mainProgram = "openstack-inventory"; homepage = "https://github.com/openstack/openstacksdk"; license = licenses.asl20; teams = [ teams.openstack ]; };}