at master 689 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 pytools, 7 numpy, 8 typing-extensions, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "cgen"; 14 version = "2025.1"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-efAeAQ1JwT5YtMqPLUmWprcXiWj18tkGJiczSArnotQ="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ 25 pytools 26 numpy 27 typing-extensions 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 meta = { 33 description = "C/C++ source generation from an AST"; 34 homepage = "https://github.com/inducer/cgen"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ sigmanificient ]; 37 }; 38}