stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / cpyparsing / default.nix
blob96fe9a569abca25602aaf7a3942b236b01a77af8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   cython,
6   pexpect,
7   python,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "cpyparsing";
14   version = "2.4.7.2.4.1";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-2RfwGnSz/GFPk565n8MooIybHeWAlWYMDylZd0S/HTA=";
22   };
24   nativeBuildInputs = [
25     cython
26     setuptools
27   ];
29   nativeCheckInputs = [ pexpect ];
31   checkPhase = ''
32     ${python.interpreter} tests/cPyparsing_test.py
33   '';
35   pythonImportsCheck = [ "cPyparsing" ];
37   meta = with lib; {
38     description = "Cython PyParsing implementation";
39     homepage = "https://github.com/evhub/cpyparsing";
40     changelog = "https://github.com/evhub/cpyparsing/releases/tag/v${version}";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ fabianhjr ];
43   };