mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
482a6d610f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-readme_renderer/versions
40 lines
736 B
Nix
40 lines
736 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, mock
|
|
, cmarkgfm
|
|
, bleach
|
|
, docutils
|
|
, future
|
|
, pygments
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "readme_renderer";
|
|
version = "24.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0br0562lnvj339f1nwz4nfl4ay49rw05xkqacigzf9wz4mdza5mv";
|
|
};
|
|
|
|
checkInputs = [ pytest mock ];
|
|
|
|
propagatedBuildInputs = [
|
|
bleach cmarkgfm docutils future pygments six
|
|
];
|
|
|
|
checkPhase = ''
|
|
# disable one failing test case
|
|
py.test -k "not test_invalid_link"
|
|
'';
|
|
|
|
meta = {
|
|
description = "readme_renderer is a library for rendering readme descriptions for Warehouse";
|
|
homepage = https://github.com/pypa/readme_renderer;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|