Files
nixpkgs/pkgs/development/python-modules/phply/default.nix
T
Kerstin Humm e71402f44b 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>
2024-08-13 08:44:54 +02:00

32 lines
619 B
Nix

{
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 ];
};
}