textx: init at 2.2.0
This commit is contained in:
parent
7d9c736824
commit
a9d3237b5d
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/textx/default.nix
Normal file
36
pkgs/development/python-modules/textx/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, arpeggio
|
||||
, click
|
||||
, jinja2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "textX";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname;
|
||||
inherit version;
|
||||
sha256 = "00mwd588ms96qp27m5vpjkzk30wfw53hnmv8y77slxca8lw9vq82";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "tests/functional" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
arpeggio
|
||||
click
|
||||
jinja2
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "textX is a meta-language for building Domain-Specific Languages (DSLs) in Python";
|
||||
homepage = "https://textx.github.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mcaju ];
|
||||
};
|
||||
}
|
|
@ -7429,6 +7429,8 @@ in {
|
|||
|
||||
textfsm = callPackage ../development/python-modules/textfsm { };
|
||||
|
||||
textx = callPackage ../development/python-modules/textx { };
|
||||
|
||||
testpath = callPackage ../development/python-modules/testpath { };
|
||||
|
||||
testrepository = callPackage ../development/python-modules/testrepository { };
|
||||
|
|
Loading…
Reference in a new issue