nixpkgs/pkgs/development/python-modules/botocore/default.nix

45 lines
738 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, dateutil
, jmespath
, docutils
, ordereddict
, simplejson
, mock
, nose
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "botocore";
2017-12-30 11:21:51 +00:00
version = "1.8.21";
src = fetchPypi {
inherit pname version;
2017-12-30 11:21:51 +00:00
sha256 = "e4513a02f68e7efd7494ee56db201d87620218ca879aae361abbb71bcde3aa5f";
};
propagatedBuildInputs = [
dateutil
jmespath
docutils
ordereddict
simplejson
];
checkInputs = [ mock nose ];
checkPhase = ''
nosetests -v
'';
# Network access
doCheck = false;
meta = {
homepage = https://github.com/boto/botocore;
license = "bsd";
description = "A low-level interface to a growing number of Amazon Web Services";
};
}