2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, mock, pytest, pytest-mock, pytest-server-fixtures, pytest-localserver
|
|
|
|
, termcolor, click, markdown2, six, jsonref, pyyaml, xmltodict, attrs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ramlfications";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.2.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Python RAML parser.";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ramlfications";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://ramlfications.readthedocs.org";
|
|
|
|
license = licenses.asl20;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
}
|