Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 993 B view raw
1{ lib 2, buildPythonPackage 3, chardet 4, docutils 5, fetchPypi 6, pbr 7, pygments 8, pytestCheckHook 9, pythonOlder 10, restructuredtext_lint 11, setuptools-scm 12, stevedore 13}: 14 15buildPythonPackage rec { 16 pname = "doc8"; 17 version = "1.1.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-2XqT6PWi78RxOggEZX3trYN0XMpM0diN6Rhvd/l3YAQ="; 25 }; 26 27 nativeBuildInputs = [ 28 setuptools-scm 29 ]; 30 31 buildInputs = [ 32 pbr 33 ]; 34 35 propagatedBuildInputs = [ 36 docutils 37 chardet 38 stevedore 39 restructuredtext_lint 40 pygments 41 ]; 42 43 nativeCheckInputs = [ 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ 48 "doc8" 49 ]; 50 51 meta = with lib; { 52 description = "Style checker for Sphinx (or other) RST documentation"; 53 homepage = "https://github.com/pycqa/doc8"; 54 changelog = "https://github.com/PyCQA/doc8/releases/tag/v${version}"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ onny ]; 57 }; 58}