depot/third_party/nixpkgs/pkgs/development/python-modules/speg/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

28 lines
602 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, speg
}:
buildPythonPackage rec {
pname = "speg";
version = "0.3";
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 ];
};
}