Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ 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 = with lib.maintainers; [ drupol ]; mainProgram = "gcp-storage-emulator"; };}