diff options
author | devresse <adrien.devresse@epfl.ch> | 2016-02-19 10:52:22 +0000 |
---|---|---|
committer | devresse <adrien.devresse@epfl.ch> | 2016-02-21 15:02:47 +0000 |
commit | 4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35 (patch) | |
tree | efb3815df082fd7b6d124296f40eea0b18284b7c /pkgs/applications/science/biology/neuron | |
parent | cc58339345399d6831fb2e44801e5aca33e4323a (diff) | |
download | nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar.gz nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar.bz2 nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar.lz nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar.xz nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.tar.zst nixpkgs-4046d3ce8dbecb74fc9da8f03d7fcd651ca94f35.zip |
neuron: init at 7.4
Diffstat (limited to 'pkgs/applications/science/biology/neuron')
-rw-r--r-- | pkgs/applications/science/biology/neuron/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/neuron/default.nix b/pkgs/applications/science/biology/neuron/default.nix new file mode 100644 index 00000000000..33f6d50d8ad --- /dev/null +++ b/pkgs/applications/science/biology/neuron/default.nix @@ -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; + }; +} + |