about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rnginline/default.nix
blob: 9c4b6ad358e85734e3f76ea2d449e70f24f35793 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
  };
}