Loading pkgs/development/python-modules/setuptools-dso/default.nix +21 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchPypi, fetchFromGitHub, # build-system setuptools, # tests nose2, pytestCheckHook, setuptools, }: buildPythonPackage rec { Loading @@ -12,10 +17,11 @@ buildPythonPackage rec { version = "2.12.2"; pyproject = true; src = fetchPypi { pname = "setuptools_dso"; inherit version; hash = "sha256-evt2+T0Tzp2iRQJnbY8tTbw9o1xiRflfJ9+fp0RQeaQ="; src = fetchFromGitHub { owner = "epics-base"; repo = "setuptools_dso"; tag = version; hash = "sha256-YYm3mTA443vcD/4vHa7EgPzvDDzBic64NWWJDQYQHKs="; }; build-system = [ setuptools ]; Loading @@ -25,10 +31,16 @@ buildPythonPackage rec { pytestCheckHook ]; meta = with lib; { disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # distutils.compilers.C.errors.CompileError: command '/nix/store/...-clang-wrapper-21.1.2/bin/clang' failed with exit code 1 # fatal error: 'string' file not found "test_cxx" ]; meta = { description = "Setuptools extension for building non-Python Dynamic Shared Objects"; homepage = "https://github.com/mdavidsaver/setuptools_dso"; license = licenses.bsd3; maintainers = with maintainers; [ marius851000 ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ marius851000 ]; }; } Loading
pkgs/development/python-modules/setuptools-dso/default.nix +21 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchPypi, fetchFromGitHub, # build-system setuptools, # tests nose2, pytestCheckHook, setuptools, }: buildPythonPackage rec { Loading @@ -12,10 +17,11 @@ buildPythonPackage rec { version = "2.12.2"; pyproject = true; src = fetchPypi { pname = "setuptools_dso"; inherit version; hash = "sha256-evt2+T0Tzp2iRQJnbY8tTbw9o1xiRflfJ9+fp0RQeaQ="; src = fetchFromGitHub { owner = "epics-base"; repo = "setuptools_dso"; tag = version; hash = "sha256-YYm3mTA443vcD/4vHa7EgPzvDDzBic64NWWJDQYQHKs="; }; build-system = [ setuptools ]; Loading @@ -25,10 +31,16 @@ buildPythonPackage rec { pytestCheckHook ]; meta = with lib; { disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # distutils.compilers.C.errors.CompileError: command '/nix/store/...-clang-wrapper-21.1.2/bin/clang' failed with exit code 1 # fatal error: 'string' file not found "test_cxx" ]; meta = { description = "Setuptools extension for building non-Python Dynamic Shared Objects"; homepage = "https://github.com/mdavidsaver/setuptools_dso"; license = licenses.bsd3; maintainers = with maintainers; [ marius851000 ]; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ marius851000 ]; }; }