mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
45 lines
726 B
Nix
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";
|
|
};
|
|
}
|