Unverified Commit 80386726 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

python3Packages.primer3: fix build (#516399)

parents d41e5fd8 0295540e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -23,12 +23,17 @@ buildPythonPackage (finalAttrs: {
    hash = "sha256-HL/kFpz5xvFDKgef2+AI/qjs2jakl00qfPSABYMGyrI=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml --replace-fail "Cython~=3.1.0" "cython"
  '';

  build-system = [
    cython
    distutils
    setuptools
  ];

  nativeBuildInputs = [ cython ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];
  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];

  nativeCheckInputs = [
    click