about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ramlfications/default.nix
blob: 22fef92b576d2187098cd0c5214c1b82046cb473 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  lib,
  buildPythonPackage,
  fetchPypi,
  mock,
  pytest,
  pytest-mock,
  pytest-server-fixtures,
  pytest-localserver,
  termcolor,
  click,
  markdown2,
  six,
  jsonref,
  pyyaml,
  xmltodict,
  attrs,
}:

buildPythonPackage rec {
  pname = "ramlfications";
  version = "0.2.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew=";
  };

  meta = with lib; {
    description = "Python RAML parser";
    mainProgram = "ramlfications";
    homepage = "https://ramlfications.readthedocs.org";
    license = licenses.asl20;
    maintainers = [ ];
    platforms = platforms.all;
  };

  doCheck = false;
  # [darwin]  AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times.

  buildInputs = [
    mock
    pytest
    pytest-mock
    pytest-server-fixtures
    pytest-localserver
  ];

  propagatedBuildInputs = [
    termcolor
    click
    markdown2
    six
    jsonref
    pyyaml
    xmltodict
    attrs
  ];
}