Files
nixpkgs/pkgs/development/python-modules/loompy/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.1 KiB
Nix

{
lib,
fetchPypi,
buildPythonPackage,
h5py,
numpy,
scipy,
numba,
click,
numpy-groupies,
setuptools,
pytestCheckHook,
}:
let
finalAttrs = {
pname = "loompy";
version = "3.0.8";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-wfSNC/Iaorve7iGgV3VTy6lgnZQ118MraHaGu7WGnKc=";
};
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