python312Packages.ctypesgen: init at 1.1.1 (#339719)

This commit is contained in:
Fabian Affolter 2024-09-05 20:49:02 +02:00 committed by GitHub
commit 30bb95bfc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
pythonOlder,
setuptools-scm,
setuptools,
toml,
wheel,
}:
buildPythonPackage rec {
pname = "ctypesgen";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ctypesgen";
repo = "ctypesgen";
rev = "refs/tags/${version}";
hash = "sha256-TwIWPellmjMpTGQ+adJBLNMdAqB0kLOMl4YAubvXKqo=";
};
build-system = [
setuptools
setuptools-scm
toml
wheel
];
# Various compiler errors
doCheck = false;
pythonImportsCheck = [ "ctypesgen" ];
meta = with lib; {
description = "Pure-python wrapper generator for ctypes";
homepage = "https://github.com/ctypesgen/ctypesgen";
changelog = "https://github.com/ctypesgen/ctypesgen/blob/${src.rev}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2706,6 +2706,8 @@ self: super: with self; {
ctranslate2-cpp = pkgs.ctranslate2;
};
ctypesgen = callPackage ../development/python-modules/ctypesgen { };
cu2qu = callPackage ../development/python-modules/cu2qu { };
customtkinter = callPackage ../development/python-modules/customtkinter { };