depot/third_party/nixpkgs/pkgs/development/python-modules/phply/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

35 lines
671 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
ply,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "phply";
version = "1.2.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Cyd3TShfUHo0RYBaBfj7KZj1bXCScPeLiSCLZbDYSRc=";
};
build-system = [ setuptools ];
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 ];
};
}