My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/antlr4-python3-runtime/default.nix

22 lines
434 B

{ lib, buildPythonPackage, isPy3k, python
, antlr4
}:
buildPythonPackage rec {
pname = "antlr4-python3-runtime";
inherit (antlr4.runtime.cpp) version src;
disabled = !isPy3k;
sourceRoot = "source/runtime/Python3";
checkPhase = ''
cd test
${python.interpreter} ctest.py
'';
meta = with lib; {
description = "Runtime for ANTLR";
homepage = "https://www.antlr.org/";
license = licenses.bsd3;
};
}