python3Packages.pynauty: init at 2.8.8.1 (#538068)

This commit is contained in:
Audrey Dutcher
2026-08-11 08:34:20 +00:00
committed by GitHub
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
gnumake,
pytestCheckHook,
pythonOlder,
setuptools,
wheel,
}:
buildPythonPackage (finalAttrs: {
pname = "pynauty";
version = "2.8.8.1";
__structuredAttrs = true;
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pdobsan";
repo = "pynauty";
tag = finalAttrs.version;
hash = "sha256-VdAXNRRMNEos0t04ixQywUncj7ohSCqRDitT+kWywZo=";
};
build-system = [
setuptools
wheel
];
nativeBuildInputs = [
gnumake
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlags = [
"--pyargs"
"pynauty"
];
pythonImportsCheck = [
"pynauty"
"pynauty.nautywrap"
];
meta = {
description = "Isomorphism testing and automorphisms of graphs";
homepage = "https://github.com/pdobsan/pynauty";
changelog = "https://github.com/pdobsan/pynauty/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [
gpl3Plus
asl20
];
maintainers = with lib.maintainers; [ kilianar ];
};
})

View File

@@ -15253,6 +15253,8 @@ self: super: with self; {
pynanoleaf = callPackage ../development/python-modules/pynanoleaf { };
pynauty = callPackage ../development/python-modules/pynauty { };
pync = callPackage ../development/python-modules/pync { inherit (pkgs) which; };
pynecil = callPackage ../development/python-modules/pynecil { };