1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/python-modules/boto/default.nix
Jonathan Ringer 5f06ba50e2 python38Packages.boto: disable tests for py38
Hmac logic has changed, and upstream no longer maintaining package
2019-10-27 16:26:57 +01:00

41 lines
937 B
Nix

{ pkgs
, buildPythonPackage
, fetchPypi
, isPy38
, python
, nose
, mock
, requests
, httpretty
}:
buildPythonPackage rec {
pname = "boto";
version = "2.49.0";
src = fetchPypi {
inherit pname version;
sha256 = "ea0d3b40a2d852767be77ca343b58a9e3a4b00d9db440efb8da74b4e58025e5a";
};
checkPhase = ''
${python.interpreter} tests/test.py default
'';
doCheck = (!isPy38); # hmac functionality has changed
checkInputs = [ nose mock ];
propagatedBuildInputs = [ requests httpretty ];
meta = with pkgs.lib; {
homepage = https://github.com/boto/boto;
license = licenses.mit;
description = "Python interface to Amazon Web Services";
longDescription = ''
The boto module is an integrated interface to current and
future infrastructural services offered by Amazon Web
Services. This includes S3, SQS, EC2, among others.
'';
maintainers = [ maintainers.costrouc ];
};
}