mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
3e2513fa82
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-apache-libcloud/versions
36 lines
740 B
Nix
36 lines
740 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pycrypto
|
|
, requests
|
|
, pytestrunner
|
|
, pytest
|
|
, requests-mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "apache-libcloud";
|
|
version = "2.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j";
|
|
};
|
|
|
|
checkInputs = [ mock pytest pytestrunner requests-mock ];
|
|
propagatedBuildInputs = [ pycrypto requests ];
|
|
|
|
preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py";
|
|
|
|
# requires a certificates file
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A unified interface to many cloud providers";
|
|
homepage = http://incubator.apache.org/libcloud/;
|
|
license = licenses.asl20;
|
|
};
|
|
|
|
}
|