Loading pkgs/by-name/fr/freecad/package.nix +6 −6 Original line number Diff line number Diff line Loading @@ -128,12 +128,12 @@ freecad-utils.makeCustomizable ( cmakeFlags = [ "-Wno-dev" # turns off warnings which otherwise makes it hard to see what is going on "-DBUILD_DRAWING=ON" "-DBUILD_FLAT_MESH:BOOL=ON" "-DINSTALL_TO_SITEPACKAGES=OFF" "-DFREECAD_USE_PYBIND11=ON" "-DBUILD_QT5=OFF" "-DBUILD_QT6=ON" (lib.cmakeBool "BUILD_DRAWING" true) (lib.cmakeBool "BUILD_FLAT_MESH" true) (lib.cmakeBool "INSTALL_TO_SITEPACKAGES" false) (lib.cmakeBool "FREECAD_USE_PYBIND11" true) (lib.cmakeBool "BUILD_QT5" false) (lib.cmakeBool "BUILD_QT6" true) ]; qtWrapperArgs = Loading pkgs/development/python-modules/mathutils/default.nix +25 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, pythonAtLeast, fetchPypi, # build-system setuptools, # nativeBuildInputs pkg-config, # buildInputs eigen, }: buildPythonPackage { buildPythonPackage (finalAttrs: { pname = "mathutils"; version = "3.3.0"; version = "5.1.0"; pyproject = true; src = fetchFromGitLab { owner = "ideasman42"; repo = "blender-mathutils"; rev = "d63d623a9e580a567eb6acb7dbed7cad0e4f8c28"; hash = "sha256-c28kt2ADw4wHNLN0CBPcJU/kqm6g679QRaICk4WwaBc="; # No tags on GitLab src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-sXGvnWtUoSE4yd6tT1kwo/qvkjh8xf+qgvGPvuFVQWg="; }; # error: implicit declaration of function ‘_PyLong_AsInt’; did you mean ‘PyLong_AsInt’? [-Wimplicit-function-declaration] # https://github.com/python/cpython/issues/108444 postPatch = lib.optionalString (pythonAtLeast "3.13") '' substituteInPlace src/generic/py_capi_utils.{c,h} \ --replace-fail "_PyLong_AsInt" "PyLong_AsInt" ''; build-system = [ setuptools ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ eigen ]; pythonImportsCheck = [ "mathutils" ]; # no tests doCheck = false; meta = { description = "General math utilities library providing Matrix, Vector, Quaternion, Euler and Color classes, written in C for speed"; homepage = "https://gitlab.com/ideasman42/blender-mathutils"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ autra ]; }; } }) Loading
pkgs/by-name/fr/freecad/package.nix +6 −6 Original line number Diff line number Diff line Loading @@ -128,12 +128,12 @@ freecad-utils.makeCustomizable ( cmakeFlags = [ "-Wno-dev" # turns off warnings which otherwise makes it hard to see what is going on "-DBUILD_DRAWING=ON" "-DBUILD_FLAT_MESH:BOOL=ON" "-DINSTALL_TO_SITEPACKAGES=OFF" "-DFREECAD_USE_PYBIND11=ON" "-DBUILD_QT5=OFF" "-DBUILD_QT6=ON" (lib.cmakeBool "BUILD_DRAWING" true) (lib.cmakeBool "BUILD_FLAT_MESH" true) (lib.cmakeBool "INSTALL_TO_SITEPACKAGES" false) (lib.cmakeBool "FREECAD_USE_PYBIND11" true) (lib.cmakeBool "BUILD_QT5" false) (lib.cmakeBool "BUILD_QT6" true) ]; qtWrapperArgs = Loading
pkgs/development/python-modules/mathutils/default.nix +25 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, pythonAtLeast, fetchPypi, # build-system setuptools, # nativeBuildInputs pkg-config, # buildInputs eigen, }: buildPythonPackage { buildPythonPackage (finalAttrs: { pname = "mathutils"; version = "3.3.0"; version = "5.1.0"; pyproject = true; src = fetchFromGitLab { owner = "ideasman42"; repo = "blender-mathutils"; rev = "d63d623a9e580a567eb6acb7dbed7cad0e4f8c28"; hash = "sha256-c28kt2ADw4wHNLN0CBPcJU/kqm6g679QRaICk4WwaBc="; # No tags on GitLab src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-sXGvnWtUoSE4yd6tT1kwo/qvkjh8xf+qgvGPvuFVQWg="; }; # error: implicit declaration of function ‘_PyLong_AsInt’; did you mean ‘PyLong_AsInt’? [-Wimplicit-function-declaration] # https://github.com/python/cpython/issues/108444 postPatch = lib.optionalString (pythonAtLeast "3.13") '' substituteInPlace src/generic/py_capi_utils.{c,h} \ --replace-fail "_PyLong_AsInt" "PyLong_AsInt" ''; build-system = [ setuptools ]; nativeBuildInputs = [ pkg-config ]; buildInputs = [ eigen ]; pythonImportsCheck = [ "mathutils" ]; # no tests doCheck = false; meta = { description = "General math utilities library providing Matrix, Vector, Quaternion, Euler and Color classes, written in C for speed"; homepage = "https://gitlab.com/ideasman42/blender-mathutils"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ autra ]; }; } })