From 4a6031fb7c3ca459c5fc22edad0906b5d83ccc37 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 18 Mar 2024 22:39:18 +0100 Subject: [PATCH] python312Packages.pcbnewtransition: rename from pcbnew-transition --- pkgs/by-name/ki/kikit/default.nix | 4 ++-- .../{pcbnew-transition => pcbnewtransition}/default.nix | 5 +++-- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) rename pkgs/development/python-modules/{pcbnew-transition => pcbnewtransition}/default.nix (90%) diff --git a/pkgs/by-name/ki/kikit/default.nix b/pkgs/by-name/ki/kikit/default.nix index e8356fd0a0ff..2f5a0bced240 100644 --- a/pkgs/by-name/ki/kikit/default.nix +++ b/pkgs/by-name/ki/kikit/default.nix @@ -14,7 +14,7 @@ , pytestCheckHook , commentjson , wxpython -, pcbnew-transition +, pcbnewtransition , pybars3 , versioneer , shapely_1_8 @@ -47,7 +47,7 @@ buildPythonApplication rec { commentjson # https://github.com/yaqwsx/KiKit/issues/575 wxpython - pcbnew-transition + pcbnewtransition pybars3 # https://github.com/yaqwsx/KiKit/issues/574 shapely_1_8 diff --git a/pkgs/development/python-modules/pcbnew-transition/default.nix b/pkgs/development/python-modules/pcbnewtransition/default.nix similarity index 90% rename from pkgs/development/python-modules/pcbnew-transition/default.nix rename to pkgs/development/python-modules/pcbnewtransition/default.nix index bf9c6ae6430f..956be1966b66 100644 --- a/pkgs/development/python-modules/pcbnew-transition/default.nix +++ b/pkgs/development/python-modules/pcbnewtransition/default.nix @@ -6,14 +6,15 @@ , versioneer }: buildPythonPackage rec { - pname = "pcbnewTransition"; + pname = "pcbnewtransition"; version = "0.4.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { - inherit pname version; + pname = "pcbnewTransition"; + inherit version; hash = "sha256-+mRExuDuEYxSSlrkEjSyPK+RRJZo+YJH7WnUVfjblRQ="; }; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 96fccb3f3ecc..bf9588273e71 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -302,6 +302,7 @@ mapAliases ({ pam = python-pam; # added 2020-09-07. PasteDeploy = pastedeploy; # added 2021-10-07 pathpy = path; # added 2022-04-12 + pcbnew-transition = pcbnewtransition; # added 2024-03-21 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 pdfminer = pdfminer-six; # added 2022-05-25 pep257 = pydocstyle; # added 2022-04-12 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d856a94e0847..49da4f4f67e2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9312,7 +9312,7 @@ self: super: with self; { inherit (pkgs) libpcap; # Avoid confusion with python package of the same name }; - pcbnew-transition = callPackage ../development/python-modules/pcbnew-transition { }; + pcbnewtransition = callPackage ../development/python-modules/pcbnewtransition { }; pcodedmp = callPackage ../development/python-modules/pcodedmp { };