Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rnc2rng / default.nix
blob104a6f12a675d2ab5457f2860c0467f2c0d3437e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python
5 , rply
6 }:
8 buildPythonPackage rec {
9   pname = "rnc2rng";
10   version = "2.6.6";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1";
15   };
17   propagatedBuildInputs = [ rply ];
19   checkPhase = "${python.interpreter} test.py";
21   meta = with lib; {
22     homepage = "https://github.com/djc/rnc2rng";
23     description = "Compact to regular syntax conversion library for RELAX NG schemata";
24     license = licenses.mit;
25     maintainers = with maintainers; [ bcdarwin ];
26   };