depot/third_party/nixpkgs/pkgs/development/python-modules/speg/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
633 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 = "A PEG-based parser interpreter with memoization (in time)";
homepage = "https://github.com/avakar/speg";
license = with licenses; [ mit ];
maintainers = with maintainers; [ xworld21 ];
};
}