1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5, rply
6}:
7
8buildPythonPackage rec {
9 pname = "rnc2rng";
10 version = "2.6.6";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1";
15 };
16
17 propagatedBuildInputs = [ rply ];
18
19 checkPhase = "${python.interpreter} test.py";
20
21 meta = with lib; {
22 homepage = "https://github.com/djc/rnc2rng";
23 description = "Compact to regular syntax conversion library for RELAX NG schemata";
24 license = licenses.mit;
25 maintainers = with maintainers; [ bcdarwin ];
26 };
27}