d2947cfef0
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
35 lines
729 B
Nix
35 lines
729 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, astropy
|
|
, dask
|
|
, numpy
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "casa-formats-io";
|
|
version = "0.2.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-8iZ+wcSfh5ACTb3/iQAf2qQpwZ6wExWwcdJoLmCEjB0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ astropy dask numpy ];
|
|
|
|
# Tests require a large (800 Mb) dataset
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "casa_formats_io" ];
|
|
|
|
meta = {
|
|
description = "Dask-based reader for CASA data";
|
|
homepage = "https://casa-formats-io.readthedocs.io/";
|
|
license = lib.licenses.lgpl2Only;
|
|
maintainers = with lib.maintainers; [ smaret ];
|
|
};
|
|
}
|