fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
30 lines
638 B
Nix
30 lines
638 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
python,
|
|
rply,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rnc2rng";
|
|
version = "2.7.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-3Z/7vWnQnLB+bnqM+A/ShwP9xtO5Am+HVrScvjMUZ2s=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "rnc2rng";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|