504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
29 lines
627 B
Nix
29 lines
627 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 ];
|
|
};
|
|
}
|