2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, rply
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rnc2rng";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "2.6.6";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ rply ];
|
|
|
|
|
|
|
|
checkPhase = "${python.interpreter} test.py";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/djc/rnc2rng";
|
|
|
|
description = "Compact to regular syntax conversion library for RELAX NG schemata";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|