Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 41 lines 803 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, astropy 5, dask 6, numpy 7, oldest-supported-numpy 8, setuptools-scm 9, wheel 10}: 11 12buildPythonPackage rec { 13 pname = "casa-formats-io"; 14 version = "0.2.2"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-EOX+tal9nrON2K7mHVYSTTxja6mu2k3Bag8bhL3JHJs="; 20 }; 21 22 nativeBuildInputs = [ 23 oldest-supported-numpy 24 setuptools-scm 25 wheel 26 ]; 27 28 propagatedBuildInputs = [ astropy dask numpy ]; 29 30 # Tests require a large (800 Mb) dataset 31 doCheck = false; 32 33 pythonImportsCheck = [ "casa_formats_io" ]; 34 35 meta = { 36 description = "Dask-based reader for CASA data"; 37 homepage = "https://casa-formats-io.readthedocs.io/"; 38 license = lib.licenses.lgpl2Only; 39 maintainers = with lib.maintainers; [ smaret ]; 40 }; 41}