sphinx-lint: init at 1.0.0 (#432870)

authored by Doron Behar and committed by GitHub b156fc0b ae27bbc3

+41
+41
pkgs/by-name/sp/sphinx-lint/package.nix
··· 1 + { 2 + lib, 3 + python3, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3.pkgs.buildPythonApplication rec { 8 + pname = "sphinx-lint"; 9 + version = "1.0.0"; 10 + pyproject = true; 11 + 12 + src = fetchFromGitHub { 13 + owner = "sphinx-contrib"; 14 + repo = "sphinx-lint"; 15 + tag = "v${version}"; 16 + hash = "sha256-VM8PyUZVQQFdXLR14eN7+hPT/iGOVHG6s1bcac4MPo4="; 17 + }; 18 + 19 + build-system = [ 20 + python3.pkgs.hatch-vcs 21 + python3.pkgs.hatchling 22 + ]; 23 + 24 + dependencies = with python3.pkgs; [ 25 + polib 26 + regex 27 + ]; 28 + 29 + nativeCheckInputs = with python3.pkgs; [ 30 + pytestCheckHook 31 + pytest-cov 32 + ]; 33 + 34 + meta = { 35 + description = "Check for stylistic and formal issues in .rst and .py files included in the documentation"; 36 + homepage = "https://github.com/sphinx-contrib/sphinx-lint"; 37 + license = lib.licenses.psfl; 38 + maintainers = with lib.maintainers; [ doronbehar ]; 39 + mainProgram = "sphinx-lint"; 40 + }; 41 + }