1{ lib, fetchFromGitHub, buildPythonPackage, docutils }: 2 3buildPythonPackage rec { 4 pname = "rstcheck"; 5 version = "v3.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "myint"; 9 repo = pname; 10 rev = version; 11 sha256 = "sha256-4AhENuT+LtUMCi+aaI/rKa2gHti8sKGLdVGjdRithXI="; 12 }; 13 14 pythonImportsCheck = [ "rstcheck" ]; 15 propagatedBuildInputs = [ docutils ]; 16 17 meta = with lib; { 18 description = "Checks syntax of reStructuredText and code blocks nested within it"; 19 homepage = "https://github.com/myint/rstcheck"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ staccato ]; 22 }; 23}