Loading pkgs/development/python-modules/pysfcgal/default.nix 0 → 100644 +71 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, pytestCheckHook, cffi, icontract, setuptools, sfcgal, wheel, }: buildPythonPackage (finalAttrs: { pname = "pysfcgal"; version = "2.2.0"; pyproject = true; src = fetchFromGitLab { owner = "sfcgal"; repo = "pysfcgal"; tag = "v${finalAttrs.version}"; hash = "sha256-/G6yC7u2CYM7D9xO2IOB8+AjWc4ErzTIdvHmwGRxXBc="; }; buildInputs = [ sfcgal ]; build-system = [ setuptools wheel ]; dependencies = [ cffi ]; pythonImportsCheck = [ "pysfcgal" ]; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ icontract ]; # remove src module, so tests use the installed module instead preCheck = '' rm -rf pysfcgal ''; disabledTests = [ # this test is failing due to mismatched output "test_wrap_geom_segfault" ]; meta = { description = "Python wrapper for SFCGAL"; homepage = "https://gitlab.com/sfcgal/pysfcgal"; changelog = "https://gitlab.com/sfcgal/pysfcgal/-/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; teams = with lib.teams; [ geospatial ngi ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14683,6 +14683,8 @@ self: super: with self; { pyseventeentrack = callPackage ../development/python-modules/pyseventeentrack { }; pysfcgal = callPackage ../development/python-modules/pysfcgal { }; pysftp = callPackage ../development/python-modules/pysftp { }; pyshark = callPackage ../development/python-modules/pyshark { }; Loading
pkgs/development/python-modules/pysfcgal/default.nix 0 → 100644 +71 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, pytestCheckHook, cffi, icontract, setuptools, sfcgal, wheel, }: buildPythonPackage (finalAttrs: { pname = "pysfcgal"; version = "2.2.0"; pyproject = true; src = fetchFromGitLab { owner = "sfcgal"; repo = "pysfcgal"; tag = "v${finalAttrs.version}"; hash = "sha256-/G6yC7u2CYM7D9xO2IOB8+AjWc4ErzTIdvHmwGRxXBc="; }; buildInputs = [ sfcgal ]; build-system = [ setuptools wheel ]; dependencies = [ cffi ]; pythonImportsCheck = [ "pysfcgal" ]; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ icontract ]; # remove src module, so tests use the installed module instead preCheck = '' rm -rf pysfcgal ''; disabledTests = [ # this test is failing due to mismatched output "test_wrap_geom_segfault" ]; meta = { description = "Python wrapper for SFCGAL"; homepage = "https://gitlab.com/sfcgal/pysfcgal"; changelog = "https://gitlab.com/sfcgal/pysfcgal/-/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; teams = with lib.teams; [ geospatial ngi ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14683,6 +14683,8 @@ self: super: with self; { pyseventeentrack = callPackage ../development/python-modules/pyseventeentrack { }; pysfcgal = callPackage ../development/python-modules/pysfcgal { }; pysftp = callPackage ../development/python-modules/pysftp { }; pyshark = callPackage ../development/python-modules/pyshark { };