Commit adf2ec46 authored by Robert Schütz's avatar Robert Schütz
Browse files

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.
parent 539904d0
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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 ];

+2 −2
Original line number Diff line number Diff line
@@ -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 = [
+2 −2
Original line number Diff line number Diff line
@@ -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 −2
Original line number Diff line number Diff line
@@ -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";
+1 −0
Original line number Diff line number Diff line
@@ -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
Loading