summary refs log tree commit diff
path: root/pkgs/development/libraries/physics/thepeg/default.nix
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-07-17 12:00:17 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-10-19 02:17:15 -0400
commitfd95f8f824110d5a757414d457497da675979d4b (patch)
tree9338e4a1af1d3aead8f4f26f9df5fba4eeb11472 /pkgs/development/libraries/physics/thepeg/default.nix
parent1c855085cdc957e14af91dddbf11b3505af937fe (diff)
downloadnixlib-fd95f8f824110d5a757414d457497da675979d4b.tar
nixlib-fd95f8f824110d5a757414d457497da675979d4b.tar.gz
nixlib-fd95f8f824110d5a757414d457497da675979d4b.tar.bz2
nixlib-fd95f8f824110d5a757414d457497da675979d4b.tar.lz
nixlib-fd95f8f824110d5a757414d457497da675979d4b.tar.xz
nixlib-fd95f8f824110d5a757414d457497da675979d4b.tar.zst
nixlib-fd95f8f824110d5a757414d457497da675979d4b.zip
herwig: init a 7.0.3
thepeg: init at 2.0.3
Diffstat (limited to 'pkgs/development/libraries/physics/thepeg/default.nix')
-rw-r--r--pkgs/development/libraries/physics/thepeg/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/physics/thepeg/default.nix b/pkgs/development/libraries/physics/thepeg/default.nix
new file mode 100644
index 000000000000..5ea6daf8ed44
--- /dev/null
+++ b/pkgs/development/libraries/physics/thepeg/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, boost, fastjet, gsl, hepmc, lhapdf, rivet, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "thepeg-${version}";
+  version = "2.0.3";
+
+  src = fetchurl {
+    url = "http://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
+    sha256 = "0d26linwv92iq23n4gx154jvyd0lz5vg41kf4nxa01nspy7scyy5";
+  };
+
+  buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ];
+
+  configureFlags = [
+    "--with-hepmc=${hepmc}"
+    "--without-javagui"
+  ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    description = "Toolkit for High Energy Physics Event Generation";
+    license     = stdenv.lib.licenses.gpl2;
+    homepage    = https://herwig.hepforge.org/;
+    platforms   = stdenv.lib.platforms.unix;
+  };
+}