1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/physics/apfel/default.nix
Ryan Burns 69263d42c1
apfel: build with python3 (#148796)
Upstream supports python3 since:
0a75939245
50c729f7f1
2021-12-06 01:14:35 -05:00

26 lines
619 B
Nix

{ lib, stdenv, fetchFromGitHub, gfortran, lhapdf, python3, zlib }:
stdenv.mkDerivation rec {
pname = "apfel";
version = "3.0.5";
src = fetchFromGitHub {
owner = "scarrazza";
repo = "apfel";
rev = version;
sha256 = "sha256-szEtSC/NouYlHSjVoX9Hoh7yQ0W82rVccYEF1L2tXoU=";
};
buildInputs = [ gfortran lhapdf python3 zlib ];
enableParallelBuilding = true;
meta = with lib; {
description = "A PDF Evolution Library";
license = licenses.gpl3;
homepage = "https://apfel.mi.infn.it/";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}