2020-06-09 20:56:05 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, rply
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rnc2rng";
|
2021-02-20 09:09:16 +00:00
|
|
|
version = "2.6.5";
|
2020-06-09 20:56:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:16 +00:00
|
|
|
sha256 = "d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5";
|
2020-06-09 20:56:05 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|