3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/casa-formats-io/default.nix
Sébastien Maret 690131976e python3Packages.casa-formats.io: init at 0.1
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2021-11-14 20:56:56 +01:00

34 lines
664 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, astropy
, dask
, numpy
}:
buildPythonPackage rec {
pname = "casa-formats-io";
version = "0.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "16rypj65wdfxxrilxfhbk563lxv86if4vvs9zfq3f8bkzdr8xl9s";
};
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 = "http://radio-astro-tools.github.io";
license = lib.licenses.lgpl2Only;
maintainers = with lib.maintainers; [ smaret ];
};
}