Skip to content

Commit

Permalink
python312Packagesfastnlo-toolkit: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Nov 28, 2024
1 parent 17399d3 commit e78d97c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/fa/fastnlo-toolkit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://fastnlo.hepforge.org/code/v25/fastnlo_toolkit-${version}.tar.gz";
sha256 = "sha256-7aIMYCOkHC/17CHYiEfrxvtSJxTDivrS7BQ32cGiEy0=";
hash = "sha256-7aIMYCOkHC/17CHYiEfrxvtSJxTDivrS7BQ32cGiEy0=";
};

patches = [
Expand All @@ -38,7 +38,7 @@ stdenv.mkDerivation rec {

propagatedBuildInputs = [
zlib
] ++ lib.optional withPython swig;
] ++ lib.optional withPython [swig python.pkgs.distutils];

preConfigure = ''
substituteInPlace ./fastnlotoolkit/Makefile.in \
Expand Down

0 comments on commit e78d97c

Please sign in to comment.