systemd: add missing patch for Musl
[NixPkgs.git] / pkgs / development / python-modules / zarr / default.nix
blobcc38c78b3c48c613c9f1f07328dbef4cea913a2f
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   setuptools-scm,
10   # dependencies
11   asciitree,
12   numpy,
13   fasteners,
14   numcodecs,
16   # tests
17   pytestCheckHook,
20 buildPythonPackage rec {
21   pname = "zarr";
22   version = "2.18.3";
23   format = "pyproject";
25   disabled = pythonOlder "3.8";
27   src = fetchPypi {
28     inherit pname version;
29     hash = "sha256-JYDYy23YRiF3GhDTHE13fcqKJ3BqGomyn0LS034t9c4=";
30   };
32   build-system = [
33     setuptools-scm
34   ];
36   dependencies = [
37     asciitree
38     numpy
39     fasteners
40     numcodecs
41   ] ++ numcodecs.optional-dependencies.msgpack;
43   nativeCheckInputs = [
44     pytestCheckHook
45   ];
47   pythonImportsCheck = [ "zarr" ];
49   meta = {
50     description = "Implementation of chunked, compressed, N-dimensional arrays for Python";
51     homepage = "https://github.com/zarr-developers/zarr";
52     changelog = "https://github.com/zarr-developers/zarr-python/releases/tag/v${version}";
53     license = lib.licenses.mit;
54     maintainers = with lib.maintainers; [ doronbehar ];
55   };