Loading pkgs/by-name/ga/gaphor/package.nix +35 −0 Original line number Diff line number Diff line Loading @@ -4,10 +4,12 @@ glib, gobject-introspection, wrapGAppsHook4, gitMinimal, gtksourceview5, libadwaita, python3Packages, nix-update-script, writableTmpDirAsHomeHook, }: python3Packages.buildPythonApplication rec { pname = "gaphor"; Loading @@ -24,6 +26,7 @@ python3Packages.buildPythonApplication rec { pythonRelaxDeps = [ "pydot" "pygobject" "dulwich" ]; nativeBuildInputs = [ Loading Loading @@ -52,6 +55,8 @@ python3Packages.buildPythonApplication rec { pydot pygobject3 tinycss2 ipython sphinx ]; postInstall = '' Loading @@ -76,6 +81,36 @@ python3Packages.buildPythonApplication rec { --replace-fail "Exec=/usr/bin/gaphor" "Exec=$out/bin/gaphor" ''; nativeCheckInputs = [ writableTmpDirAsHomeHook gitMinimal ] ++ (with python3Packages; [ pytestCheckHook pytest-asyncio pytest-archon hypothesis xdoctest markdown-it-py ]); disabledTests = [ # Segfault due to gtk initialization failure? "page" "editor" "drop" ]; disabledTestPaths = [ # Same, segfault "gaphor/diagram/tools/tests" "gaphor/plugins/console/tests" "gaphor/ui/tests" "gaphor/plugins/errorreports/tests" # Removed in next version "gaphor/tests/test_application.py" "tests/*" ]; # Prevent double wrapping dontWrapGApps = true; Loading Loading
pkgs/by-name/ga/gaphor/package.nix +35 −0 Original line number Diff line number Diff line Loading @@ -4,10 +4,12 @@ glib, gobject-introspection, wrapGAppsHook4, gitMinimal, gtksourceview5, libadwaita, python3Packages, nix-update-script, writableTmpDirAsHomeHook, }: python3Packages.buildPythonApplication rec { pname = "gaphor"; Loading @@ -24,6 +26,7 @@ python3Packages.buildPythonApplication rec { pythonRelaxDeps = [ "pydot" "pygobject" "dulwich" ]; nativeBuildInputs = [ Loading Loading @@ -52,6 +55,8 @@ python3Packages.buildPythonApplication rec { pydot pygobject3 tinycss2 ipython sphinx ]; postInstall = '' Loading @@ -76,6 +81,36 @@ python3Packages.buildPythonApplication rec { --replace-fail "Exec=/usr/bin/gaphor" "Exec=$out/bin/gaphor" ''; nativeCheckInputs = [ writableTmpDirAsHomeHook gitMinimal ] ++ (with python3Packages; [ pytestCheckHook pytest-asyncio pytest-archon hypothesis xdoctest markdown-it-py ]); disabledTests = [ # Segfault due to gtk initialization failure? "page" "editor" "drop" ]; disabledTestPaths = [ # Same, segfault "gaphor/diagram/tools/tests" "gaphor/plugins/console/tests" "gaphor/ui/tests" "gaphor/plugins/errorreports/tests" # Removed in next version "gaphor/tests/test_application.py" "tests/*" ]; # Prevent double wrapping dontWrapGApps = true; Loading