mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
4328629bf8
There is no `stdenv.maintainers`. /cc @veprbl.
32 lines
878 B
Nix
32 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 ];
|
|
};
|
|
}
|