Files
nixpkgs/pkgs/development/python-modules/pycparser/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

37 lines
644 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
unittestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pycparser";
version = "2.22";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-SRyL6cBA9TkPW/RKWwd1K9B/Vu35kjgbBccBQ57sEPY=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
disabled = pythonOlder "3.8";
unittestFlagsArray = [
"-s"
"tests"
];
meta = with lib; {
description = "C parser in Python";
homepage = "https://github.com/eliben/pycparser";
license = licenses.bsd3;
maintainers = [ ];
};
}