python3Packages.gpiod: rename from libgpiod
On PyPI the package is called gpiod and that's also what's listed as its name in the METADATA file.
This commit is contained in:
+6
-2
@@ -2,10 +2,14 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
libgpiod,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage {
|
||||
inherit (libgpiod) pname version src;
|
||||
format = "setuptools";
|
||||
pname = "gpiod";
|
||||
inherit (libgpiod) version src;
|
||||
pyproject = true;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ libgpiod ];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
hatch-fancy-pypi-readme,
|
||||
libgpiod,
|
||||
gpiod,
|
||||
mock,
|
||||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
libgpiod
|
||||
gpiod
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
click,
|
||||
coloredlogs,
|
||||
crc,
|
||||
libgpiod,
|
||||
gpiod,
|
||||
pyserial-asyncio-fast,
|
||||
typing-extensions,
|
||||
zigpy,
|
||||
@@ -53,7 +53,7 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
zigpy
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux) [ libgpiod ];
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux) [ gpiod ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromCodeberg,
|
||||
libgpiod,
|
||||
gpiod,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
@@ -17,7 +17,7 @@ buildHomeAssistantComponent rec {
|
||||
hash = "sha256-JyyJPI0lbZLJj+016WgS1KXU5rnxUmRMafel4/wKsYk=";
|
||||
};
|
||||
|
||||
dependencies = [ libgpiod ];
|
||||
dependencies = [ gpiod ];
|
||||
|
||||
meta = {
|
||||
description = "Home Assistant GPIO custom integration";
|
||||
|
||||
@@ -287,6 +287,7 @@ mapAliases {
|
||||
lcov_cobertura = throw "'lcov_cobertura' has been renamed to/replaced by 'lcov-cobertura'"; # Converted to throw 2025-10-29
|
||||
ldap = throw "'ldap' has been renamed to/replaced by 'python-ldap'"; # Converted to throw 2025-10-29
|
||||
ledger_agent = throw "'ledger_agent' has been renamed to/replaced by 'ledger-agent'"; # Converted to throw 2025-10-29
|
||||
libgpiod = gpiod; # added 2026-03-30
|
||||
libpyfoscam = throw "libpyfoscam was removed because Home Assistant switched to libpyfoscamcgi"; # added 2025-07-03
|
||||
line_profiler = throw "'line_profiler' has been renamed to/replaced by 'line-profiler'"; # Converted to throw 2025-10-29
|
||||
linear-garage-door = throw "'linear-garage-door' has been superseded by 'nice-go'"; # Added 2025-11-16
|
||||
|
||||
@@ -6597,6 +6597,8 @@ self: super: with self; {
|
||||
|
||||
gpib-ctypes = callPackage ../development/python-modules/gpib-ctypes { };
|
||||
|
||||
gpiod = callPackage ../development/python-modules/gpiod { inherit (pkgs) libgpiod; };
|
||||
|
||||
gpiodevice = callPackage ../development/python-modules/gpiodevice { };
|
||||
|
||||
gpiozero = callPackage ../development/python-modules/gpiozero { };
|
||||
@@ -8699,8 +8701,6 @@ self: super: with self; {
|
||||
|
||||
libfive = toPythonModule (pkgs.libfive.override { python3 = python; });
|
||||
|
||||
libgpiod = callPackage ../development/python-modules/libgpiod { inherit (pkgs) libgpiod; };
|
||||
|
||||
libgravatar = callPackage ../development/python-modules/libgravatar { };
|
||||
|
||||
libiio =
|
||||
|
||||
Reference in New Issue
Block a user