at master 1.1 kB view raw
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 dependencies = [ 34 docopt-ng 35 lxml 36 typing-extensions 37 importlib-metadata 38 importlib-resources 39 ]; 40 41 nativeCheckInputs = [ 42 mock 43 pytestCheckHook 44 ]; 45 46 pythonImportsCheck = [ "rnginline" ]; 47 48 meta = with lib; { 49 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"; 50 homepage = "https://github.com/h4l/rnginline"; 51 changelog = "https://github.com/h4l/rnginline/blob/${version}/CHANGELOG.md"; 52 license = licenses.asl20; 53 maintainers = with maintainers; [ lesuisse ]; 54 }; 55}