push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
fs,
google-cloud-storage,
google-crc32c,
pytestCheckHook,
pytest-cov-stub,
requests,
}:
buildPythonPackage rec {
pname = "gcp-storage-emulator";
version = "2024.08.03";
pyproject = true;
src = fetchFromGitHub {
owner = "oittaa";
repo = "gcp-storage-emulator";
tag = "v${version}";
hash = "sha256-Lp9Wvod0wSE2+cnvLXguhagT30ax9TivyR8gC/kB7w0=";
};
build-system = [
setuptools
];
dependencies = [
fs
google-crc32c
];
nativeCheckInputs = [
google-cloud-storage
pytest-cov-stub
pytestCheckHook
requests
];
disabledTests = [
"test_invalid_crc32c_hash" # AssertionError
];
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 = [ ];
mainProgram = "gcp-storage-emulator";
};
}