python312Packages.autopxd2: init at 2.5.0 (#366993)

This commit is contained in:
Sandro
2024-12-23 04:03:11 +01:00
committed by GitHub
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
buildPythonPackage,
lib,
fetchPypi,
setuptools,
pycparser,
click,
pytestCheckHook,
cython,
}:
buildPythonPackage rec {
pname = "python-autopxd2";
version = "2.5.0";
pyproject = true;
src = fetchPypi {
pname = "autopxd2";
inherit version;
hash = "sha256-uxVWz2LSXWpDYvQFrxlrmxA1XQagyHTfFf4hhaHKOqc=";
};
build-system = [
setuptools
];
dependencies = [
pycparser
click
cython
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"test/"
];
meta = {
homepage = "https://github.com/elijahr/python-autopxd2";
mainProgram = "autopxd";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
license = lib.licenses.mit;
description = "Generates .pxd files automatically from .h files";
};
}
+2
View File
@@ -1066,6 +1066,8 @@ self: super: with self; {
autopep8 = callPackage ../development/python-modules/autopep8 { };
autopxd2 = callPackage ../development/python-modules/autopxd2 { };
autoslot = callPackage ../development/python-modules/autoslot { };
avahi = toPythonModule (pkgs.avahi.override {