depot/third_party/nixpkgs/pkgs/development/python-modules/rstcheck/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

23 lines
616 B
Nix

{ 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 ];
};
}