python.pkgs.readme_renderer: init at 17.2
This commit is contained in:
parent
b690856b62
commit
69435dfba5
36
pkgs/development/python-modules/readme_renderer/default.nix
Normal file
36
pkgs/development/python-modules/readme_renderer/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, bleach
|
||||
, docutils
|
||||
, pygments
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "readme_renderer";
|
||||
version = "17.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9deab442963a63a71ab494bf581b1c844473995a2357f4b3228a1df1c8cba8da";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bleach docutils pygments six
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "readme_renderer is a library for rendering readme descriptions for Warehouse";
|
||||
homepage = https://github.com/pypa/readme_renderer;
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
@ -19189,6 +19189,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
|
||||
|
||||
rjsmin = callPackage ../development/python-modules/rjsmin { };
|
||||
|
||||
pysolr = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user