My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/s3-credentials/default.nix

49 lines
903 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, click
, click-default-group
, boto3
, pytestCheckHook
, hypothesis
, pytest-mock
}:
buildPythonPackage rec {
pname = "s3-credentials";
version = "0.11";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = version;
hash = "sha256-t6Q+/2k93cEk+eeFm9aOvZNb1IcUzt66iApfH2FvHbw=";
};
propagatedBuildInputs = [
click
click-default-group
boto3
];
checkInputs = [
pytestCheckHook
hypothesis
pytest-mock
];
pythonImportsCheck = [
"s3_credentials"
];
meta = with lib; {
description = "Python CLI utility for creating credentials for accessing S3 buckets";
homepage = "https://github.com/simonw/s3-credentials";
license = licenses.asl20;
maintainers = with maintainers; [ techknowlogick ];
};
}