python312Packages.bucketstore: fix build and update

This commit is contained in:
jacobi petrucciani
2024-08-27 15:52:02 -04:00
parent e47a32e1f5
commit f001cee1cf
@@ -6,26 +6,24 @@
pytestCheckHook,
boto3,
moto,
poetry-core,
}:
buildPythonPackage rec {
pname = "bucketstore";
version = "0.2.2";
format = "setuptools";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "jpetrucciani";
repo = "bucketstore";
rev = "refs/tags/${version}";
hash = "sha256-BtoyGqFbeBhGQeXnmeSfiuJLZtXFrK26WO0SDlAtKG4=";
hash = "sha256-WjweYFnlDEoR+TYzNgjPMdCLdUUEbdPROubov6kancc=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "version=__version__," 'version="${version}",'
'';
build-system = [ poetry-core ];
propagatedBuildInputs = [ boto3 ];