depot/third_party/nixpkgs/pkgs/development/python-modules/loompy/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

56 lines
1.1 KiB
Nix

{
lib,
fetchPypi,
buildPythonPackage,
h5py,
numpy,
scipy,
numba,
click,
numpy-groupies,
setuptools,
pytestCheckHook,
}:
let
finalAttrs = {
pname = "loompy";
version = "3.0.7";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-tc33tUc0xr7ToYHRGUevcK8sbg3K3AL9Docd8jL6qPQ=";
};
build-system = [ setuptools ];
dependencies = [
h5py
numpy
scipy
numba
click
numpy-groupies
];
nativeCheckInputs = [ pytestCheckHook ];
# Deprecated numpy attributes access
disabledTests = [
"test_scan_with_default_ordering"
"test_get"
];
pythonImportsCheck = [ "loompy" ];
meta = {
changelog = "https://github.com/linnarsson-lab/loompy/releases";
description = "Python implementation of the Loom file format";
homepage = "https://github.com/linnarsson-lab/loompy";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ theobori ];
mainProgram = "loompy";
};
};
in
buildPythonPackage finalAttrs