nixpkgs/pkgs/development/python-modules/rstcheck/default.nix

24 lines
611 B
Nix
Raw Normal View History

2021-08-30 19:35:35 +02:00
{ lib, fetchFromGitHub, buildPythonPackage, docutils }:
buildPythonPackage rec {
pname = "rstcheck";
version = "v3.3.1";
src = fetchFromGitHub {
owner = "myint";
repo = pname;
rev = 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;
2021-09-02 11:29:48 +02:00
maintainers = with maintainers; [ staccato ];
2021-08-30 19:35:35 +02:00
};
}