diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-08-31 18:31:04 +0700 |
---|---|---|
committer | wisut hantanong <wizzup@gmail.com> | 2017-08-31 21:18:38 +0700 |
commit | 31b7f8701a0c31d4f66508fed1ce1ea475e38dcd (patch) | |
tree | 1edcb173968c2e966f8c8bf19c2100e8148f1a95 /pkgs/development/python-modules | |
parent | c0433265bbca6db732aa1e5aec00c16ee7b292b8 (diff) | |
download | nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar.gz nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar.bz2 nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar.lz nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar.xz nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.tar.zst nixlib-31b7f8701a0c31d4f66508fed1ce1ea475e38dcd.zip |
pythonPackages.ramlfications : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/ramlfications/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ramlfications/default.nix b/pkgs/development/python-modules/ramlfications/default.nix new file mode 100644 index 000000000000..1042b8de98ed --- /dev/null +++ b/pkgs/development/python-modules/ramlfications/default.nix @@ -0,0 +1,30 @@ +{ stdenv, 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.1.9"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0xvnna7kaq4nm5nfnwcwbr5bcm2s532hgyp7kq4v9iivn48rrf3v"; + }; + + meta = with stdenv.lib; { + description = "A Python RAML parser."; + homepage = "https://ramlfications.readthedocs.org"; + license = licenses.asl20; + maintainers = with maintainers; [ nand0p ]; + 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 ]; +} |