From c3b9db387be6463aec6af669d7268443a0f0c0ba Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 4 Nov 2023 01:33:36 +0900 Subject: [PATCH] python311Packages.restructuredtext-lint: rename from restructuredtext_lint --- pkgs/development/python-modules/doc8/default.nix | 4 ++-- .../python-modules/recurring-ical-events/default.nix | 4 ++-- .../default.nix | 5 +++-- pkgs/development/python-modules/x-wr-timezone/default.nix | 4 ++-- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) rename pkgs/development/python-modules/{restructuredtext_lint => restructuredtext-lint}/default.nix (84%) diff --git a/pkgs/development/python-modules/doc8/default.nix b/pkgs/development/python-modules/doc8/default.nix index 8c687f583ad6..915918bc54b6 100644 --- a/pkgs/development/python-modules/doc8/default.nix +++ b/pkgs/development/python-modules/doc8/default.nix @@ -8,7 +8,7 @@ , pygments , pytestCheckHook , pythonOlder -, restructuredtext_lint +, restructuredtext-lint , setuptools-scm , stevedore , wheel @@ -48,7 +48,7 @@ buildPythonPackage rec { docutils chardet stevedore - restructuredtext_lint + restructuredtext-lint pygments ]; diff --git a/pkgs/development/python-modules/recurring-ical-events/default.nix b/pkgs/development/python-modules/recurring-ical-events/default.nix index 8fcb212c702b..b6c20812d9cc 100644 --- a/pkgs/development/python-modules/recurring-ical-events/default.nix +++ b/pkgs/development/python-modules/recurring-ical-events/default.nix @@ -6,7 +6,7 @@ , python-dateutil , x-wr-timezone , pytestCheckHook -, restructuredtext_lint +, restructuredtext-lint , pygments , tzdata }: @@ -33,7 +33,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - restructuredtext_lint + restructuredtext-lint pygments tzdata ]; diff --git a/pkgs/development/python-modules/restructuredtext_lint/default.nix b/pkgs/development/python-modules/restructuredtext-lint/default.nix similarity index 84% rename from pkgs/development/python-modules/restructuredtext_lint/default.nix rename to pkgs/development/python-modules/restructuredtext-lint/default.nix index ebb682a9c51f..6ee3ae697fa1 100644 --- a/pkgs/development/python-modules/restructuredtext_lint/default.nix +++ b/pkgs/development/python-modules/restructuredtext-lint/default.nix @@ -7,11 +7,12 @@ }: buildPythonPackage rec { - pname = "restructuredtext_lint"; + pname = "restructuredtext-lint"; version = "1.4.0"; src = fetchPypi { - inherit pname version; + pname = "restructuredtext_lint"; + inherit version; hash = "sha256-GyNcDJIjQatsUwOQiS656S+QubdQRgY+BHys+w8FDEU="; }; diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 3fe03d993564..3a9c78044fe8 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -4,7 +4,7 @@ , icalendar , pytz , pytestCheckHook -, restructuredtext_lint +, restructuredtext-lint , pygments }: @@ -28,7 +28,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - restructuredtext_lint + restructuredtext-lint pygments ]; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 00f517bc5788..326fb2412343 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -367,6 +367,7 @@ mapAliases ({ repeated_test = repeated-test; # added 2022-11-15 requests_oauthlib = requests-oauthlib; # added 2022-02-12 requests_toolbelt = requests-toolbelt; # added 2017-09-26 + restructuredtext_lint = restructuredtext-lint; # added 2023-11-04 rig = throw "rig has been removed because it was pinned to python 2.7 and 3.5, failed to build and is otherwise unmaintained"; # added 2022-11-28 rl-coach = "rl-coach was removed because the project is discontinued and was archived by upstream"; # added 2023-05-03 roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 228cabf855d1..16c2d99cea73 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12224,7 +12224,7 @@ self: super: with self; { restrictedpython = callPackage ../development/python-modules/restrictedpython { }; - restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { }; + restructuredtext-lint = callPackage ../development/python-modules/restructuredtext-lint { }; restview = callPackage ../development/python-modules/restview { };