at master 1.1 kB view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 h5py, 6 numpy, 7 scipy, 8 numba, 9 click, 10 numpy-groupies, 11 setuptools, 12 pytestCheckHook, 13}: 14let 15 finalAttrs = { 16 pname = "loompy"; 17 version = "3.0.8"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit (finalAttrs) pname version; 22 hash = "sha256-wfSNC/Iaorve7iGgV3VTy6lgnZQ118MraHaGu7WGnKc="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 h5py 29 numpy 30 scipy 31 numba 32 click 33 numpy-groupies 34 ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 # Deprecated numpy attributes access 39 disabledTests = [ 40 "test_scan_with_default_ordering" 41 "test_get" 42 ]; 43 44 pythonImportsCheck = [ "loompy" ]; 45 46 meta = { 47 changelog = "https://github.com/linnarsson-lab/loompy/releases"; 48 description = "Python implementation of the Loom file format"; 49 homepage = "https://github.com/linnarsson-lab/loompy"; 50 license = lib.licenses.bsd2; 51 maintainers = with lib.maintainers; [ theobori ]; 52 mainProgram = "loompy"; 53 }; 54 }; 55in 56buildPythonPackage finalAttrs