Commit 9943b728 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.pystatgrab: disable tests on darwin (seg fault)

parent f340e1b5
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  cython,
  fetchFromGitHub,
@@ -8,7 +9,6 @@
  pythonOlder,
  setuptools,
  unittestCheckHook,
  wheel,
}:

buildPythonPackage rec {
@@ -25,24 +25,22 @@ buildPythonPackage rec {
    hash = "sha256-0FDhkIK8jy3/SFmCzrl9l4RTeIKDjO0o5UoODx6Wnfs=";
  };

  build-system = [
    setuptools
    wheel
  ];
  build-system = [ setuptools ];

  nativeBuildInputs = [
    cython
    pkg-config
  ];

  buildInputs = [
    libstatgrab
  ];
  buildInputs = [ libstatgrab ];

  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "statgrab" ];

  # Tests don't work on darwin due to seg fault
  doCheck = !stdenv.hostPlatform.isDarwin;

  meta = with lib; {
    description = "Python bindings for libstatgrab";
    homepage = "https://github.com/libstatgrab/pystatgrab";