depot/third_party/nixpkgs/pkgs/development/python-modules/casa-formats-io/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

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 ];
};
}