d7dbe45cea
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
27 lines
578 B
Nix
27 lines
578 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
, rply
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rnc2rng";
|
|
version = "2.6.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1kmp3iwxxyzjsd47j2sprd47ihhkwhb3yydih3af5bbfq0ibh1w8";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|