python312Packages.gcp-storage-emulator: init at 2024.08.03

This commit is contained in:
Pol Dellaiera
2025-01-22 21:50:09 +01:00
parent 1745c298d4
commit a97c7338ee
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
flake8,
fs,
google-cloud-storage,
google-crc32c,
pytest,
pytestCheckHook,
pytest-cov,
requests,
}:
buildPythonPackage rec {
pname = "gcp-storage-emulator";
version = "2024.08.03";
pyproject = true;
src = fetchFromGitHub {
owner = "oittaa";
repo = "gcp-storage-emulator";
rev = "v${version}";
hash = "sha256-Lp9Wvod0wSE2+cnvLXguhagT30ax9TivyR8gC/kB7w0=";
};
build-system = [
setuptools
wheel
];
nativeCheckInputs = [
flake8
fs
google-cloud-storage
google-crc32c
pytest
pytestCheckHook
pytest-cov
requests
];
pythonImportsCheck = [
"gcp_storage_emulator"
];
meta = {
description = "Local emulator for Google Cloud Storage";
homepage = "https://github.com/oittaa/gcp-storage-emulator";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ drupol ];
};
}
+2
View File
@@ -5083,6 +5083,8 @@ self: super: with self; {
gcovr = callPackage ../development/python-modules/gcovr { };
gcp-storage-emulator = callPackage ../development/python-modules/gcp-storage-emulator { };
gcsa = callPackage ../development/python-modules/gcsa { };
gcsfs = callPackage ../development/python-modules/gcsfs { };