nixpkgs/pkgs/development/libraries/physics/lhapdf/default.nix
Vladimír Čunát 4328629bf8 treewide: fix meta evaluation
There is no `stdenv.maintainers`. /cc @veprbl.
2016-10-22 12:05:23 +02:00

31 lines
878 B
Nix

{ stdenv, fetchurl, boost, python2 }:
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 python2 ];
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;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}