Unverified Commit 923517ac authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.faster-fifo: pin to gcc12 on linux

parent 8c1235a5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, stdenv
, gcc12Stdenv

# build-system
, cython
@@ -11,11 +13,17 @@
, unittestCheckHook
}:

let
  stdenv' = if stdenv.isLinux then gcc12Stdenv else stdenv;
in
buildPythonPackage rec {
  pname = "faster-fifo";
  version = "1.4.5";
  format = "pyproject";

  # https://github.com/alex-petrenko/faster-fifo/issues/47\
  stdenv = stdenv';

  src = fetchFromGitHub {
    owner = "alex-petrenko";
    repo = "faster-fifo";