evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / s3-credentials / default.nix
blob4d7755894aa6c5e78c374528b394e7b2ba112a44
2   lib,
3   boto3,
4   buildPythonPackage,
5   click,
6   click-default-group,
7   fetchFromGitHub,
8   hypothesis,
9   moto,
10   pytest-mock,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "s3-credentials";
18   version = "0.16.1";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchFromGitHub {
24     owner = "simonw";
25     repo = "s3-credentials";
26     rev = "refs/tags/${version}";
27     hash = "sha256-TuGrKSfnn0CSMpRxdCM6C446z+y9d2ZLB7+wSCxSqP4=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     boto3
34     click
35     click-default-group
36   ];
38   nativeCheckInputs = [
39     hypothesis
40     moto
41     pytest-mock
42     pytestCheckHook
43   ];
45   pythonImportsCheck = [ "s3_credentials" ];
47   disabledTests = [
48     # AssertionError: assert 'directory/th...ory/...
49     "test_put_objects"
50   ];
52   meta = with lib; {
53     description = "Python CLI utility for creating credentials for accessing S3 buckets";
54     homepage = "https://github.com/simonw/s3-credentials";
55     changelog = "https://github.com/simonw/s3-credentials/releases/tag/${version}";
56     license = licenses.asl20;
57     maintainers = with maintainers; [ techknowlogick ];
58     mainProgram = "s3-credentials";
59   };