Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 637 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, numpy 6, quantities 7}: 8 9buildPythonPackage rec { 10 pname = "neo"; 11 version = "0.9.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "6e31c88d7c52174fa2512df589b2b5003e9471fde27fca9f315f4770ba3bd3cb"; 16 }; 17 18 propagatedBuildInputs = [ numpy quantities ]; 19 20 checkInputs = [ nose ]; 21 22 checkPhase = '' 23 nosetests --exclude=iotest 24 ''; 25 26 meta = with lib; { 27 homepage = "https://neuralensemble.org/neo/"; 28 description = "Package for representing electrophysiology data in Python"; 29 license = licenses.bsd3; 30 maintainers = with maintainers; [ bcdarwin ]; 31 }; 32}