Merge pull request #165909 from techknowlogick/init-s3-credentials
s3-credentials: init at 0.10
This commit is contained in:
commit
ca671342f7
3 changed files with 53 additions and 0 deletions
49
pkgs/development/python-modules/s3-credentials/default.nix
Normal file
49
pkgs/development/python-modules/s3-credentials/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, click
|
||||
, click-default-group
|
||||
, boto3
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3-credentials";
|
||||
version = "0.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simonw";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-JgqKmZG3K4JwQ1Bzw2oll/LQ1njA9wFhX0/uYr9XjAU=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -9708,6 +9708,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 { };
|
||||
|
|
|
@ -8956,6 +8956,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