summary refs log tree commit diff
path: root/pkgs/development/python-modules/rstcheck/default.nix
blob: 606b2879908e6233ee8e38c7171c244797ac246b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchFromGitHub, buildPythonPackage, docutils }:

buildPythonPackage rec {
  pname = "rstcheck";
  version = "3.3.1";

  src = fetchFromGitHub {
    owner = "myint";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-4AhENuT+LtUMCi+aaI/rKa2gHti8sKGLdVGjdRithXI=";
  };

  pythonImportsCheck = [ "rstcheck" ];
  propagatedBuildInputs = [ docutils ];

  meta = with lib; {
    description = "Checks syntax of reStructuredText and code blocks nested within it";
    homepage = "https://github.com/myint/rstcheck";
    license = licenses.mit;
    maintainers = with maintainers; [ staccato ];
  };
}