Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 27 lines 590 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, rply 6}: 7 8buildPythonPackage rec { 9 pname = "rnc2rng"; 10 version = "2.6.5"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "d354afcf0bf8e3b1e8f8d37d71a8fe5b1c0cf75cbd4b71364a9d90b5108a16e5"; 15 }; 16 17 propagatedBuildInputs = [ rply ]; 18 19 checkPhase = "${python.interpreter} test.py"; 20 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 }; 27}