1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, pytestCheckHook
6, boto3
7, moto
8}:
9
10buildPythonPackage rec {
11 pname = "bucketstore";
12 version = "0.2.2";
13 disabled = pythonOlder "3.7";
14
15 src = fetchFromGitHub {
16 owner = "jpetrucciani";
17 repo = "bucketstore";
18 rev = version;
19 sha256 = "sha256-BtoyGqFbeBhGQeXnmeSfiuJLZtXFrK26WO0SDlAtKG4=";
20 };
21
22 propagatedBuildInputs = [ boto3 ];
23
24 checkInputs = [
25 pytestCheckHook
26 moto
27 ];
28
29 pythonImportsCheck = [
30 "bucketstore"
31 ];
32
33 meta = with lib; {
34 description = "Library for interacting with Amazon S3";
35 homepage = "https://github.com/jpetrucciani/bucketstore";
36 license = licenses.mit;
37 maintainers = with maintainers; [ jpetrucciani ];
38 };
39}