1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 06:42:33 +03:00
nixpkgs/pkgs/development/python-modules/s3-credentials/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
903 B
Nix
Raw Normal View History

2022-03-26 23:50:39 -04:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, click
, click-default-group
, boto3
, pytestCheckHook
, hypothesis
, pytest-mock
}:
buildPythonPackage rec {
pname = "s3-credentials";
2022-05-01 19:26:40 -04:00
version = "0.11";
format = "setuptools";
2022-03-26 23:50:39 -04:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = version;
2022-05-01 19:26:40 -04:00
hash = "sha256-t6Q+/2k93cEk+eeFm9aOvZNb1IcUzt66iApfH2FvHbw=";
2022-03-26 23:50:39 -04:00
};
propagatedBuildInputs = [
click
click-default-group
boto3
];
checkInputs = [
pytestCheckHook
hypothesis
pytest-mock
];
pythonImportsCheck = [
"s3_credentials"
];
2022-03-26 23:50:39 -04:00
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 ];
};
}