Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, pycrypto, pythonOlder, requests}:
buildPythonPackage rec { pname = "apache-libcloud"; version = "3.7.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; hash = "sha256-FIqeUAaWVEMqfTSZeVTpFDTdOOv2iDLrnHXUQrPmL60="; };
propagatedBuildInputs = [ pycrypto requests ];
preConfigure = '' cp libcloud/test/secrets.py-dist libcloud/test/secrets.py '';
postPatch = '' substituteInPlace setup.py \ --replace "setup_requires=pytest_runner," "setup_requires=[]," '';
# requires a certificates file doCheck = false;
pythonImportsCheck = [ "libcloud" ];
meta = with lib; { description = "A unified interface to many cloud providers"; homepage = "https://libcloud.apache.org/"; changelog = "https://github.com/apache/libcloud/blob/v${version}/CHANGES.rst"; license = licenses.asl20; maintainers = with maintainers; [ ]; };}