Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
689 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
pytools,
numpy,
typing-extensions,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cgen";
version = "2025.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-efAeAQ1JwT5YtMqPLUmWprcXiWj18tkGJiczSArnotQ=";
};
build-system = [ hatchling ];
dependencies = [
pytools
numpy
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "C/C++ source generation from an AST";
homepage = "https://github.com/inducer/cgen";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}