Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 poetry-core, 6 lxml, 7 docopt-ng, 8 typing-extensions, 9 importlib-metadata, 10 importlib-resources, 11 pytestCheckHook, 12 mock, 13}: 14 15buildPythonPackage rec { 16 pname = "rnginline"; 17 version = "1.0.0"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-JWqzs+OqOynIAWYVgGrZiuiCqObAgGe6rBt0DcP3U6E="; 23 }; 24 25 pythonRelaxDeps = [ 26 "docopt-ng" 27 "importlib-metadata" 28 "lxml" 29 ]; 30 31 build-system = [ poetry-core ]; 32 33 34 dependencies = [ 35 docopt-ng 36 lxml 37 typing-extensions 38 importlib-metadata 39 importlib-resources 40 ]; 41 42 nativeCheckInputs = [ 43 mock 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ "rnginline" ]; 48 49 meta = with lib; { 50 description = "Python library and command-line tool for loading multi-file RELAX NG schemas from arbitary URLs, and flattening them into a single RELAX NG schema"; 51 homepage = "https://github.com/h4l/rnginline"; 52 changelog = "https://github.com/h4l/rnginline/blob/${version}/CHANGELOG.md"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ lesuisse ]; 55 }; 56}