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>
This commit is contained in:
Sébastien Maret 2021-11-13 15:54:37 +01:00
parent 53a68253d7
commit 690131976e
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ 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 ];
};
}

View file

@ -1383,6 +1383,8 @@ in {
cartopy = callPackage ../development/python-modules/cartopy { }; cartopy = callPackage ../development/python-modules/cartopy { };
casa-formats-io = callPackage ../development/python-modules/casa-formats-io { };
casbin = callPackage ../development/python-modules/casbin { }; casbin = callPackage ../development/python-modules/casbin { };
case = callPackage ../development/python-modules/case { }; case = callPackage ../development/python-modules/case { };