2017-07-14 05:38:57 +02:00
|
|
|
{ stdenv, fetchurl, python2 }:
|
2016-06-11 23:12:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lhapdf-${version}";
|
2017-12-23 23:48:41 +01:00
|
|
|
version = "6.2.1";
|
2016-06-11 23:12:00 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.hepforge.org/archive/lhapdf/LHAPDF-${version}.tar.gz";
|
2017-12-23 23:48:41 +01:00
|
|
|
sha256 = "0bi02xcmq5as0wf0jn6i3hx0qy0hj61m02sbrbzd1gwjhpccwmvd";
|
2016-06-11 23:12:00 +02:00
|
|
|
};
|
|
|
|
|
2017-07-14 05:38:57 +02:00
|
|
|
buildInputs = [ python2 ];
|
2016-06-11 23:12:00 +02:00
|
|
|
|
|
|
|
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;
|
2016-10-22 12:05:23 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
2016-06-11 23:12:00 +02:00
|
|
|
};
|
|
|
|
}
|