3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.ramlfications : move to separate expression

This commit is contained in:
wisut hantanong 2017-08-31 18:31:04 +07:00
parent c0433265bb
commit 31b7f8701a
2 changed files with 31 additions and 25 deletions

View file

@ -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 ];
}

View file

@ -28229,31 +28229,7 @@ EOF
txaio = callPackage ../development/python-modules/txaio { };
ramlfications = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "ramlfications";
version = "0.1.9";
meta = {
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 = with self; [ mock pytest pytest-mock pytest-server-fixtures pytest-localserver ];
propagatedBuildInputs = with self; [ termcolor click markdown2 six jsonref pyyaml xmltodict attrs ];
src = pkgs.fetchurl {
url = "mirror://pypi/r/${pname}/${name}.tar.gz";
sha256 = "0xvnna7kaq4nm5nfnwcwbr5bcm2s532hgyp7kq4v9iivn48rrf3v";
};
};
ramlfications = callPackage ../development/python-modules/ramlfications { };
yapf = callPackage ../development/python-modules/yapf { };