python312Packages.s3-credentials: format with nixfmt
This commit is contained in:
parent
5a37de54a5
commit
c1e579ce60
|
@ -1,31 +1,35 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchFromGitHub
|
boto3,
|
||||||
, pythonOlder
|
buildPythonPackage,
|
||||||
, click
|
click,
|
||||||
, click-default-group
|
click-default-group,
|
||||||
, boto3
|
fetchFromGitHub,
|
||||||
, pytestCheckHook
|
hypothesis,
|
||||||
, hypothesis
|
moto,
|
||||||
, pytest-mock
|
pytest-mock,
|
||||||
, moto
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "s3-credentials";
|
pname = "s3-credentials";
|
||||||
version = "0.16.1";
|
version = "0.16.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "simonw";
|
owner = "simonw";
|
||||||
repo = pname;
|
repo = "s3-credentials";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-TuGrKSfnn0CSMpRxdCM6C446z+y9d2ZLB7+wSCxSqP4=";
|
hash = "sha256-TuGrKSfnn0CSMpRxdCM6C446z+y9d2ZLB7+wSCxSqP4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
boto3
|
boto3
|
||||||
click
|
click
|
||||||
click-default-group
|
click-default-group
|
||||||
|
@ -38,9 +42,7 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "s3_credentials" ];
|
||||||
"s3_credentials"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# AssertionError: assert 'directory/th...ory/...
|
# AssertionError: assert 'directory/th...ory/...
|
||||||
|
@ -49,9 +51,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python CLI utility for creating credentials for accessing S3 buckets";
|
description = "Python CLI utility for creating credentials for accessing S3 buckets";
|
||||||
mainProgram = "s3-credentials";
|
|
||||||
homepage = "https://github.com/simonw/s3-credentials";
|
homepage = "https://github.com/simonw/s3-credentials";
|
||||||
|
changelog = "https://github.com/simonw/s3-credentials/releases/tag/${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ techknowlogick ];
|
maintainers = with maintainers; [ techknowlogick ];
|
||||||
|
mainProgram = "s3-credentials";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user