depot/third_party/nixpkgs/pkgs/development/python-modules/rnc2rng/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

30 lines
636 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
python,
rply,
}:
buildPythonPackage rec {
pname = "rnc2rng";
version = "2.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}