nixpkgs/pkgs/development/python-modules/botocore/default.nix
2018-01-11 17:20:52 +08:00

45 lines
726 B
Nix

{ buildPythonPackage
, fetchPypi
, dateutil
, jmespath
, docutils
, ordereddict
, simplejson
, mock
, nose
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "botocore";
version = "1.8.26";
src = fetchPypi {
inherit pname version;
sha256 = "09j3b80l401hwc3ha0s2c2qq6z45x846an09ybc9y8cb1ky0kdlv";
};
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";
};
}