Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ramlfications / default.nix
blobe58cbeeb79477fbcf0ddfe65d053775df7e32f71
1 { lib, buildPythonPackage, fetchPypi
2 , mock, pytest, pytest-mock, pytest-server-fixtures, pytest-localserver
3 , termcolor, click, markdown2, six, jsonref, pyyaml, xmltodict, attrs
4 }:
6 buildPythonPackage rec {
7   pname = "ramlfications";
8   version = "0.2.2";
9   format = "setuptools";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew=";
14   };
16   meta = with lib; {
17     description = "A Python RAML parser.";
18     mainProgram = "ramlfications";
19     homepage    = "https://ramlfications.readthedocs.org";
20     license     = licenses.asl20;
21     maintainers = with maintainers; [ ];
22     platforms   = platforms.all;
23   };
25   doCheck = false;
26   # [darwin]  AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times.
28   buildInputs = [ mock pytest pytest-mock pytest-server-fixtures pytest-localserver ];
30   propagatedBuildInputs = [ termcolor click markdown2 six jsonref pyyaml xmltodict attrs ];