lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.doc8: Modernize derivation

authored by

Jonas Heinrich and committed by
GitHub
1c494aa9 0a5083eb

+6 -8
+6 -8
pkgs/development/python-modules/doc8/default.nix
··· 17 17 buildPythonPackage rec { 18 18 pname = "doc8"; 19 19 version = "2.0.0"; 20 - format = "pyproject"; 20 + pyproject = true; 21 21 22 22 disabled = pythonOlder "3.10"; 23 23 ··· 26 26 hash = "sha256-EmetMnWJcfvPmRRCQXo5Nce8nlJVDnNiLg5WulXqHUA="; 27 27 }; 28 28 29 - nativeBuildInputs = [ 29 + build-system = [ 30 30 setuptools-scm 31 31 wheel 32 32 ]; 33 33 34 34 buildInputs = [ pbr ]; 35 35 36 - propagatedBuildInputs = [ 36 + dependencies = [ 37 37 docutils 38 38 chardet 39 39 stevedore ··· 43 43 44 44 nativeCheckInputs = [ pytestCheckHook ]; 45 45 46 - pythonRelaxDeps = [ "docutils" ]; 47 - 48 46 pythonImportsCheck = [ "doc8" ]; 49 47 50 - meta = with lib; { 48 + meta = { 51 49 description = "Style checker for Sphinx (or other) RST documentation"; 52 50 mainProgram = "doc8"; 53 51 homepage = "https://github.com/pycqa/doc8"; 54 52 changelog = "https://github.com/PyCQA/doc8/releases/tag/v${version}"; 55 - license = licenses.asl20; 56 - maintainers = with maintainers; [ onny ]; 53 + license = lib.licenses.asl20; 54 + maintainers = with lib.maintainers; [ onny ]; 57 55 }; 58 56 }