depot/third_party/nixpkgs/pkgs/development/python-modules/bucketstore/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

44 lines
926 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
boto3,
moto,
poetry-core,
}:
buildPythonPackage rec {
pname = "bucketstore";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "jpetrucciani";
repo = "bucketstore";
rev = "refs/tags/${version}";
hash = "sha256-WjweYFnlDEoR+TYzNgjPMdCLdUUEbdPROubov6kancc=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [ boto3 ];
nativeCheckInputs = [
moto
pytestCheckHook
];
pythonImportsCheck = [ "bucketstore" ];
meta = with lib; {
description = "Library for interacting with Amazon S3";
homepage = "https://github.com/jpetrucciani/bucketstore";
changelog = "https://github.com/jpetrucciani/bucketstore/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
};
}