depot/third_party/nixpkgs/pkgs/development/python-modules/rnc2rng/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}