1{ lib 2, buildPythonPackage 3, fetchurl 4, bleach, docutils, pygments, six 5, attrs, entry-points-txt, headerparser, packaging, wheel-filename 6}: 7 8# wheel-filename is stuck on readme_renderer~=24.0.0, but the upstream is at a 9# future version. 10let readme_renderer_24 = buildPythonPackage rec { 11 pname = "readme_renderer"; 12 version = "24.0.0"; 13 format = "wheel"; 14 15 src = fetchurl { 16 url = "https://files.pythonhosted.org/packages/c3/7e/d1aae793900f36b097cbfcc5e70eef82b5b56423a6c52a36dce51fedd8f0/readme_renderer-24.0-py2.py3-none-any.whl"; 17 sha256 = "c8532b79afc0375a85f10433eca157d6b50f7d6990f337fa498c96cd4bfc203d"; 18 }; 19 20 doCheck = false; 21 22 buildInputs = [ 23 bleach 24 docutils 25 pygments 26 six 27 ]; 28 29 meta = with lib; { 30 description = "Python library for rendering readme descriptions"; 31 homepage = "https://github.com/pypa/readme_renderer"; 32 license = with licenses; [ asl20 ]; 33 maintainers = with lib.maintainers; [ ayazhafiz ]; 34 }; 35}; 36 37in buildPythonPackage rec { 38 version = "1.7.0"; 39 pname = "wheel-inspect"; 40 format = "wheel"; 41 42 src = fetchurl { 43 url = "https://github.com/jwodder/wheel-inspect/releases/download/v1.7.0/wheel_inspect-1.7.0-py3-none-any.whl"; 44 sha256 = "69b34de1f4464ddfc76280c4563e4afc644de2c88e3ae6882f030afdad3d73e4"; 45 }; 46 47 propagatedBuildInputs = [ 48 attrs 49 bleach 50 docutils 51 entry-points-txt 52 headerparser 53 packaging 54 pygments 55 readme_renderer_24 56 wheel-filename 57 ]; 58 59 meta = with lib; { 60 homepage = "https://github.com/jwodder/wheel-inspect"; 61 description = "Extract information from wheels"; 62 license = with licenses; [ mit ]; 63 maintainers = with lib.maintainers; [ ayazhafiz ]; 64 }; 65}