Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 mock, 6 pytest, 7 pytest-mock, 8 pytest-server-fixtures, 9 pytest-localserver, 10 termcolor, 11 click, 12 markdown2, 13 six, 14 jsonref, 15 pyyaml, 16 xmltodict, 17 attrs, 18}: 19 20buildPythonPackage rec { 21 pname = "ramlfications"; 22 version = "0.2.2"; 23 format = "setuptools"; 24 25 src = fetchPypi { 26 inherit pname version; 27 hash = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew="; 28 }; 29 30 meta = with lib; { 31 description = "Python RAML parser"; 32 mainProgram = "ramlfications"; 33 homepage = "https://ramlfications.readthedocs.org"; 34 license = licenses.asl20; 35 maintainers = [ ]; 36 platforms = platforms.all; 37 }; 38 39 doCheck = false; 40 # [darwin] AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times. 41 42 buildInputs = [ 43 mock 44 pytest 45 pytest-mock 46 pytest-server-fixtures 47 pytest-localserver 48 ]; 49 50 propagatedBuildInputs = [ 51 termcolor 52 click 53 markdown2 54 six 55 jsonref 56 pyyaml 57 xmltodict 58 attrs 59 ]; 60}