python3Packages.cgen: 2020.1 -> 2025.1

This commit was automatically generated using update-python-libraries.

Changed files
+11 -9
pkgs
development
python-modules
+11 -9
pkgs/development/python-modules/cgen/default.nix
···
lib,
buildPythonPackage,
fetchPypi,
+
hatchling,
pytools,
numpy,
-
pytest,
+
typing-extensions,
+
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cgen";
-
version = "2020.1";
-
format = "setuptools";
+
version = "2025.1";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
-
sha256 = "4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf";
+
hash = "sha256-efAeAQ1JwT5YtMqPLUmWprcXiWj18tkGJiczSArnotQ=";
};
-
nativeCheckInputs = [ pytest ];
-
propagatedBuildInputs = [
+
build-system = [ hatchling ];
+
+
dependencies = [
pytools
numpy
+
typing-extensions
];
-
checkPhase = ''
-
pytest
-
'';
+
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "C/C++ source generation from an AST";