nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 813 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cython, 6 pexpect, 7 python, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "cpyparsing"; 13 version = "2.4.7.2.4.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-2RfwGnSz/GFPk565n8MooIybHeWAlWYMDylZd0S/HTA="; 19 }; 20 21 nativeBuildInputs = [ 22 cython 23 setuptools 24 ]; 25 26 nativeCheckInputs = [ pexpect ]; 27 28 checkPhase = '' 29 ${python.interpreter} tests/cPyparsing_test.py 30 ''; 31 32 pythonImportsCheck = [ "cPyparsing" ]; 33 34 meta = { 35 description = "Cython PyParsing implementation"; 36 homepage = "https://github.com/evhub/cpyparsing"; 37 changelog = "https://github.com/evhub/cpyparsing/releases/tag/v${version}"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ fabianhjr ]; 40 }; 41}