2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
mock,
|
|
|
|
pytest,
|
|
|
|
pytest-mock,
|
|
|
|
pytest-server-fixtures,
|
|
|
|
pytest-localserver,
|
|
|
|
termcolor,
|
|
|
|
click,
|
|
|
|
markdown2,
|
|
|
|
six,
|
|
|
|
jsonref,
|
|
|
|
pyyaml,
|
|
|
|
xmltodict,
|
|
|
|
attrs,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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";
|
2024-06-05 15:53:02 +00:00
|
|
|
homepage = "https://ramlfications.readthedocs.org";
|
|
|
|
license = licenses.asl20;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2024-06-05 15:53:02 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
# [darwin] AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times.
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
mock
|
|
|
|
pytest
|
|
|
|
pytest-mock
|
|
|
|
pytest-server-fixtures
|
|
|
|
pytest-localserver
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
termcolor
|
|
|
|
click
|
|
|
|
markdown2
|
|
|
|
six
|
|
|
|
jsonref
|
|
|
|
pyyaml
|
|
|
|
xmltodict
|
|
|
|
attrs
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|