Skip to content

Commit

Permalink
python312Packages.autopxd2: init at 2.5.0 (#366993)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 23, 2024
2 parents 35cad5a + e5230bd commit fc40bee
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/development/python-modules/autopxd2/default.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fc40bee

Please sign in to comment.