depot/third_party/nixpkgs/pkgs/development/python-modules/ramlfications/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

60 lines
1 KiB
Nix

{
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;
sha256 = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew=";
};
meta = with lib; {
description = "Python RAML parser";
mainProgram = "ramlfications";
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
];
}