about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ramlfications/default.nix
blob: 3c2be0da4792882144947bb0fc3e1f5ac7736dd6 (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
{ 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.1.9";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0xvnna7kaq4nm5nfnwcwbr5bcm2s532hgyp7kq4v9iivn48rrf3v";
  };

  meta = with lib; {
    description = "A Python RAML parser.";
    homepage    = "https://ramlfications.readthedocs.org";
    license     = licenses.asl20;
    maintainers = with 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 ];
}