3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/readme_renderer/default.nix

39 lines
685 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, mock
, cmarkgfm
, bleach
, docutils
, future
, pygments
, six
}:
buildPythonPackage rec {
pname = "readme_renderer";
2018-04-04 19:16:26 +01:00
version = "18.1";
src = fetchPypi {
inherit pname version;
2018-04-04 19:16:26 +01:00
sha256 = "e18cab7f1b07412990df1b59e1be04e1538f514a5bba53ec8777bfc5aac27563";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [
bleach cmarkgfm docutils future 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;
};
}