python312Packages.ctypesgen: init at 1.1.1 (#339719)
This commit is contained in:
commit
30bb95bfc7
46
pkgs/development/python-modules/ctypesgen/default.nix
Normal file
46
pkgs/development/python-modules/ctypesgen/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user