summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-12-30 12:32:53 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-12-30 14:27:55 -0500
commit8fb6895614e5c69b4994c0299c376bd5041dc6f9 (patch)
treef3fa0778354513297284b725450a4e54dc24b4e0 /pkgs/applications
parent3c3e2dfd0a0a0ee734f9bb733cdf91560c5363bf (diff)
downloadnixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar.gz
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar.bz2
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar.lz
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar.xz
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.tar.zst
nixpkgs-8fb6895614e5c69b4994c0299c376bd5041dc6f9.zip
sherpa: init at 2.2.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/science/physics/sherpa/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/science/physics/sherpa/default.nix b/pkgs/applications/science/physics/sherpa/default.nix
new file mode 100644
index 00000000000..d863964ad90
--- /dev/null
+++ b/pkgs/applications/science/physics/sherpa/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl, gfortran, sqlite }:
+
+stdenv.mkDerivation rec {
+  name = "sherpa-${version}";
+  version = "2.2.1";
+
+  src = fetchurl {
+    url = "http://www.hepforge.org/archive/sherpa/SHERPA-MC-${version}.tar.gz";
+    sha256 = "13vkz6w8kqyv8sgy3mxnlps5ykml5rnlj50vjj0pp9rgbl5y8ali";
+  };
+
+  buildInputs = [ gfortran sqlite ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    description = "Simulation of High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, photon-photon, lepton-hadron and hadron-hadron collisions";
+    license     = stdenv.lib.licenses.gpl2;
+    homepage    = https://sherpa.hepforge.org;
+    platforms   = stdenv.lib.platforms.unix;
+    maintainers = with stdenv.lib.maintainers; [ veprbl ];
+  };
+}