nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 54 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 packaging, 7 quantities, 8 setuptools, 9 pytestCheckHook, 10 pillow, 11 which, 12}: 13 14buildPythonPackage rec { 15 pname = "neo"; 16 version = "0.14.3"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "NeuralEnsemble"; 21 repo = "python-neo"; 22 tag = version; 23 hash = "sha256-y2MGzIfF+KrEzdjUxiDaU1ZKBK5FksX1IBJdc9RvLhM="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 numpy 30 packaging 31 quantities 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 pillow 37 which 38 ]; 39 40 disabledTestPaths = [ 41 # Requires network and export HOME dir 42 "neo/test/rawiotest/test_maxwellrawio.py" 43 ]; 44 45 pythonImportsCheck = [ "neo" ]; 46 47 meta = { 48 description = "Package for representing electrophysiology data"; 49 homepage = "https://neuralensemble.org/neo/"; 50 changelog = "https://neo.readthedocs.io/en/${src.tag}/releases/${src.tag}.html"; 51 license = lib.licenses.bsd3; 52 maintainers = with lib.maintainers; [ bcdarwin ]; 53 }; 54}