1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/development/python-modules/readme/default.nix
2018-10-27 09:07:23 +02:00

38 lines
684 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, six
, docutils
, pygments
, bleach
, html5lib
}:
buildPythonPackage rec {
pname = "readme";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "08j2w67nilczn1i5r7h22vag9673i6vnfhyq2rv27r1bdmi5a30m";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ six docutils pygments bleach html5lib ];
checkPhase = ''
py.test
'';
# Tests fail, possibly broken.
doCheck = false;
meta = with stdenv.lib; {
description = "Readme is a library for rendering readme descriptions for Warehouse";
homepage = "https://github.com/pypa/readme";
license = licenses.asl20;
};
}