depot/third_party/nixpkgs/pkgs/development/python-modules/rnc2rng/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

27 lines
590 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, rply
}:
buildPythonPackage rec {
pname = "rnc2rng";
version = "2.6.5";
src = fetchPypi {
inherit pname version;
sha256 = "d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5";
};
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 ];
};
}