s3-credentials: init at 0.10
This commit is contained in:
parent
6de161729c
commit
68eb7fdd62
3 changed files with 47 additions and 0 deletions
43
pkgs/development/python-modules/s3-credentials/default.nix
Normal file
43
pkgs/development/python-modules/s3-credentials/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, click
|
||||
, click-default-group
|
||||
, boto3
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3-credentials";
|
||||
version = "0.10";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simonw";
|
||||
repo = "${pname}";
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-JgqKmZG3K4JwQ1Bzw2oll/LQ1njA9wFhX0/uYr9XjAU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
click-default-group
|
||||
boto3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -9696,6 +9696,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
s3-credentials = with python3Packages; toPythonApplication s3-credentials;
|
||||
|
||||
s4cmd = callPackage ../tools/networking/s4cmd { };
|
||||
|
||||
s5cmd = callPackage ../tools/networking/s5cmd { };
|
||||
|
|
|
@ -8944,6 +8944,8 @@ in {
|
|||
|
||||
s3transfer = callPackage ../development/python-modules/s3transfer { };
|
||||
|
||||
s3-credentials = callPackage ../development/python-modules/s3-credentials { };
|
||||
|
||||
sabyenc3 = callPackage ../development/python-modules/sabyenc3 { };
|
||||
|
||||
sabyenc = callPackage ../development/python-modules/sabyenc { };
|
||||
|
|
Loading…
Reference in a new issue