blob: 768a02a46e5597905bdb19d151065c1e9f85cba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
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";
tag = version;
hash = "sha256-TwIWPellmjMpTGQ+adJBLNMdAqB0kLOMl4YAubvXKqo=";
};
build-system = [
setuptools
setuptools-scm
toml
wheel
];
# Various compiler errors
doCheck = false;
pythonImportsCheck = [ "ctypesgen" ];
meta = {
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 = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
};
}
|