Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, cython, numpy, pbr, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "fastremap"; version = "1.18.1"; pyproject = true;
src = fetchFromGitHub { owner = "seung-lab"; repo = "fastremap"; tag = version; hash = "sha256-nVnOdxDSVM7Qe/peALgV035OknOUm0B1dzpTIq3HEMs="; };
build-system = [ cython numpy pbr setuptools ];
dependencies = [ numpy ];
env.PBR_VERSION = version;
nativeCheckInputs = [ pytestCheckHook ];
preCheck = "rm -r fastremap/";
pythonImportsCheck = [ "fastremap" ];
meta = { description = "Remap, mask, renumber, unique, and in-place transposition of 3D labeled images and point clouds"; homepage = "https://github.com/seung-lab/fastremap"; changelog = "https://github.com/seung-lab/fastremap/releases/tag/${src.tag}"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ bcdarwin ]; };}