pythonPackages.ramlfications : move to separate expression
This commit is contained in:
parent
c0433265bb
commit
31b7f8701a
30
pkgs/development/python-modules/ramlfications/default.nix
Normal file
30
pkgs/development/python-modules/ramlfications/default.nix
Normal 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 ];
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user