lhapdf: init at 6.1.6
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, boost, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lhapdf-${version}";
|
||||
version = "6.1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.hepforge.org/archive/lhapdf/LHAPDF-${version}.tar.gz";
|
||||
sha256 = "1sgbaxv8clcfy4d96fkwfyqcd4b29i0hwv32ry4vy69j5qiki0f2";
|
||||
};
|
||||
|
||||
buildInputs = [ boost python ];
|
||||
|
||||
patches = [ ./distutils-c++.patch ];
|
||||
|
||||
configureFlags = "--with-boost=${boost.dev}";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = {
|
||||
pdf_sets = import ./pdf_sets.nix { inherit stdenv fetchurl; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A general purpose interpolator, used for evaluating Parton Distribution Functions from discretised data files";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
homepage = http://lhapdf.hepforge.org;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user