3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #147477 from LeSuisse/rnginline-0.2.0

This commit is contained in:
Sandro 2021-11-26 12:02:08 +01:00 committed by GitHub
commit 8b1c826b09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, fetchPypi, buildPythonPackage, lxml, docopt, six, pytestCheckHook, mock }:
buildPythonPackage rec {
pname = "rnginline";
version = "0.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-j4W4zwHA4yA6iAFVa/LDKp00eeCX3PbmWkjd2LSUGfk=";
};
propagatedBuildInputs = [ lxml docopt six ];
checkInputs = [ pytestCheckHook mock ];
# Those tests does not succeed, a test dependency is likely missing but nothing is specified upstream
disabledTestPaths = [
"rnginline/test/test_cmdline.py"
"rnginline/test/test_rnginline.py"
];
meta = {
description = "A 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";
homepage = "https://github.com/h4l/rnginline";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.lesuisse ];
};
}

View file

@ -15172,6 +15172,8 @@ with pkgs;
rnix-lsp = callPackage ../development/tools/rnix-lsp { };
rnginline = with python3Packages; toPythonApplication rnginline;
rolespec = callPackage ../development/tools/misc/rolespec { };
rr = callPackage ../development/tools/analysis/rr { };

View file

@ -8278,6 +8278,8 @@ in {
rnc2rng = callPackage ../development/python-modules/rnc2rng { };
rnginline = callPackage ../development/python-modules/rnginline { };
robomachine = callPackage ../development/python-modules/robomachine { };
roboschool = callPackage ../development/python-modules/roboschool {