nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 28 lines 896 B view raw
1{ lib, fetchPypi, buildPythonPackage, lxml, docopt, six, pytestCheckHook, mock }: 2 3buildPythonPackage rec { 4 pname = "rnginline"; 5 version = "0.0.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-j4W4zwHA4yA6iAFVa/LDKp00eeCX3PbmWkjd2LSUGfk="; 10 }; 11 12 propagatedBuildInputs = [ lxml docopt six ]; 13 14 checkInputs = [ pytestCheckHook mock ]; 15 16 # Those tests does not succeed, a test dependency is likely missing but nothing is specified upstream 17 disabledTestPaths = [ 18 "rnginline/test/test_cmdline.py" 19 "rnginline/test/test_rnginline.py" 20 ]; 21 22 meta = { 23 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"; 24 homepage = "https://github.com/h4l/rnginline"; 25 license = lib.licenses.asl20; 26 maintainers = [ lib.maintainers.lesuisse ]; 27 }; 28}