summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bucketstore/default.nix
blob: c708d02cb3a55fb85e859b4e8bc3923485dcdc70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  boto3,
  moto,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "bucketstore";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jpetrucciani";
    repo = "bucketstore";
    tag = version;
    hash = "sha256-WjweYFnlDEoR+TYzNgjPMdCLdUUEbdPROubov6kancc=";
  };

  build-system = [ poetry-core ];

  propagatedBuildInputs = [ boto3 ];

  nativeCheckInputs = [
    moto
    pytestCheckHook
  ];

  pythonImportsCheck = [ "bucketstore" ];

  meta = {
    description = "Library for interacting with Amazon S3";
    homepage = "https://github.com/jpetrucciani/bucketstore";
    changelog = "https://github.com/jpetrucciani/bucketstore/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jpetrucciani ];
  };
}