depot/third_party/nixpkgs/pkgs/development/python-modules/speg/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
631 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
speg,
}:
buildPythonPackage rec {
pname = "speg";
version = "0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-EMvvR+Fo38YvFNtXXPHEKAN6K4gc7mw8/O2gQ5wkPnE=";
extension = "zip";
};
pythonImportsCheck = [ "speg" ];
# checks fail for seemingly spurious reasons
doCheck = false;
meta = with lib; {
description = "PEG-based parser interpreter with memoization (in time)";
homepage = "https://github.com/avakar/speg";
license = with licenses; [ mit ];
maintainers = with maintainers; [ xworld21 ];
};
}