at master 804 B view raw
1{ 2 buildPythonPackage, 3 lib, 4 fetchPypi, 5 setuptools, 6 pycparser, 7 click, 8 pytestCheckHook, 9 cython, 10}: 11 12buildPythonPackage rec { 13 pname = "python-autopxd2"; 14 version = "2.5.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 pname = "autopxd2"; 19 inherit version; 20 hash = "sha256-uxVWz2LSXWpDYvQFrxlrmxA1XQagyHTfFf4hhaHKOqc="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 pycparser 29 click 30 cython 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 enabledTestPaths = [ 38 "test/" 39 ]; 40 41 meta = { 42 homepage = "https://github.com/elijahr/python-autopxd2"; 43 mainProgram = "autopxd"; 44 maintainers = with lib.maintainers; [ bot-wxt1221 ]; 45 license = lib.licenses.mit; 46 description = "Generates .pxd files automatically from .h files"; 47 }; 48}