mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
python3Packages.pynauty: init at 2.8.8.1 (#538068)
This commit is contained in:
62
pkgs/development/python-modules/pynauty/default.nix
Normal file
62
pkgs/development/python-modules/pynauty/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user