1{ stdenv, buildPythonPackage, fetchPypi
2, mock, pytest, pytest-mock, pytest-server-fixtures, pytest-localserver
3, termcolor, click, markdown2, six, jsonref, pyyaml, xmltodict, attrs
4}:
5
6buildPythonPackage rec {
7 pname = "ramlfications";
8 version = "0.1.9";
9 name = "${pname}-${version}";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0xvnna7kaq4nm5nfnwcwbr5bcm2s532hgyp7kq4v9iivn48rrf3v";
14 };
15
16 meta = with stdenv.lib; {
17 description = "A Python RAML parser.";
18 homepage = "https://ramlfications.readthedocs.org";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ nand0p ];
21 platforms = platforms.all;
22 };
23
24 doCheck = false;
25 # [darwin] AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times.
26
27 buildInputs = [ mock pytest pytest-mock pytest-server-fixtures pytest-localserver ];
28
29 propagatedBuildInputs = [ termcolor click markdown2 six jsonref pyyaml xmltodict attrs ];
30}