depot/third_party/nixpkgs/pkgs/development/libraries/physics/nlojet/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

25 lines
743 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "nlojet++";
version = "4.1.3";
src = fetchurl {
url = "https://desy.de/~znagy/hep-programs/nlojet++/nlojet++-${version}.tar.gz";
sha256 = "18qfn5kjzvnyh29x40zm2maqzfmrnay9r58n8pfpq5lcphdhhv8p";
};
patches = [
./nlojet_clang_fix.patch
];
meta = {
homepage = "http://www.desy.de/~znagy/Site/NLOJet++.html";
license = lib.licenses.gpl2;
description = "Implementation of calculation of the hadron jet cross sections";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ veprbl ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}