1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 pytestCheckHook,
7 boto3,
8 moto,
9 poetry-core,
10}:
11
12buildPythonPackage rec {
13 pname = "bucketstore";
14 version = "0.3.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.10";
18
19 src = fetchFromGitHub {
20 owner = "jpetrucciani";
21 repo = "bucketstore";
22 tag = version;
23 hash = "sha256-WjweYFnlDEoR+TYzNgjPMdCLdUUEbdPROubov6kancc=";
24 };
25
26 build-system = [ poetry-core ];
27
28 propagatedBuildInputs = [ boto3 ];
29
30 nativeCheckInputs = [
31 moto
32 pytestCheckHook
33 ];
34
35 pythonImportsCheck = [ "bucketstore" ];
36
37 meta = with lib; {
38 description = "Library for interacting with Amazon S3";
39 homepage = "https://github.com/jpetrucciani/bucketstore";
40 changelog = "https://github.com/jpetrucciani/bucketstore/releases/tag/${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ jpetrucciani ];
43 };
44}