Merge pull request #197793 from r-ryantm/auto-update/python3.10-cpyparsing
python310Packages.cpyparsing: 2.4.7.1.1.0 -> 2.4.7.1.2.0
This commit is contained in:
commit
7686792af8
|
@ -1,25 +1,41 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, cython, pexpect, python }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, pexpect
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cpyparsing";
|
||||
version = "2.4.7.1.1.0";
|
||||
version = "2.4.7.1.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evhub";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1rqj89mb4dz0xk8djh506nrlqfqqdva9qgb5llrvvwjqv3vqnrj4";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-cb0Lx+S9WnPa9veHJaYEU7pFCtB6pG/GKf4HK/UbmtU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
checkInputs = [ pexpect ];
|
||||
|
||||
checkPhase = "${python.interpreter} tests/cPyparsing_test.py";
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/cPyparsing_test.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cPyparsing"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/evhub/cpyparsing";
|
||||
description = "Cython PyParsing implementation";
|
||||
homepage = "https://github.com/evhub/cpyparsing";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fabianhjr ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue