Merge pull request #13122 from adevress/neuron
Add new package neuron. Neuron network simulation framework
This commit is contained in:
commit
45c97925dd
38
pkgs/applications/science/biology/neuron/default.nix
Normal file
38
pkgs/applications/science/biology/neuron/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, ncurses
|
||||||
|
, mpi ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "neuron-7.4";
|
||||||
|
buildInputs = [ stdenv pkgconfig ncurses mpi ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.neuron.yale.edu/ftp/neuron/versions/v7.4/nrn-7.4.tar.gz";
|
||||||
|
sha256 = "1rid8cmv5mca0vqkgwahm0prkwkbdvchgw2bdwvx4adkn8bbl0ql";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configureFlags = [ "--without-x"
|
||||||
|
"${if mpi != null then "--with-mpi" else "--without-mpi"}" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simulation environment for empirically-based simulations of neurons and networks of neurons";
|
||||||
|
|
||||||
|
longDescription = "NEURON is a simulation environment for developing and exercising models of
|
||||||
|
neurons and networks of neurons. It is particularly well-suited to problems where
|
||||||
|
cable properties of cells play an important role, possibly including extracellular
|
||||||
|
potential close to the membrane), and where cell membrane properties are complex,
|
||||||
|
involving many ion-specific channels, ion accumulation, and second messengers";
|
||||||
|
|
||||||
|
license = licenses.bsd3;
|
||||||
|
homepage = http://www.neuron.yale.edu/neuron;
|
||||||
|
maintainers = [ maintainers.adev ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -15127,6 +15127,12 @@ let
|
|||||||
|
|
||||||
emboss = callPackage ../applications/science/biology/emboss { };
|
emboss = callPackage ../applications/science/biology/emboss { };
|
||||||
|
|
||||||
|
neuron = callPackage ../applications/science/biology/neuron { };
|
||||||
|
|
||||||
|
neuron-mpi = appendToName "mpi" (neuron.override {
|
||||||
|
mpi = pkgs.openmpi;
|
||||||
|
});
|
||||||
|
|
||||||
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
||||||
|
|
||||||
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user