python3Packages.phply: init at 1.2.6

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Kerstin Humm 2024-07-22 17:00:46 +02:00 committed by Valentin Gagarin
parent 3b7a2a639d
commit e71402f44b
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{
lib,
buildPythonPackage,
fetchPypi,
ply,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "phply";
version = "1.2.6";
src = fetchPypi {
pname = "phply";
inherit version;
sha256 = "sha256-Cyd3TShfUHo0RYBaBfj7KZj1bXCScPeLiSCLZbDYSRc=";
};
dependencies = [ ply ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "phply" ];
meta = with lib; {
description = "Lexer and parser for PHP source implemented using PLY";
homepage = "https://github.com/viraptor/phply";
license = licenses.bsd3;
maintainers = with maintainers; [ erictapen ];
};
}

View File

@ -10012,6 +10012,8 @@ self: super: with self; {
phe = callPackage ../development/python-modules/phe { };
phply = callPackage ../development/python-modules/phply { };
phik = callPackage ../development/python-modules/phik { };
phone-modem = callPackage ../development/python-modules/phone-modem { };