Unverified Commit 3e63b6ef authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.pc-ble-driver-py: drop (#346561)

parents 3bf7da16 479566b5
Loading
Loading
Loading
Loading
+0 −64
Original line number Diff line number Diff line
{
  lib,
  boost,
  buildPythonPackage,
  cmake,
  cryptography,
  fetchFromGitHub,
  git,
  pc-ble-driver,
  pythonOlder,
  scikit-build,
  setuptools,
  swig,
  wrapt,
}:

buildPythonPackage rec {
  pname = "pc-ble-driver-py";
  version = "0.17.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "NordicSemiconductor";
    repo = "pc-ble-driver-py";
    rev = "refs/tags/v${version}";
    hash = "sha256-brC33ar2Jq3R2xdrklvVsQKf6pcnKwD25PO4TIvXgTg=";
  };

  nativeBuildInputs = [
    cmake
    swig
    git
    setuptools
    scikit-build
  ];

  buildInputs = [
    boost
    pc-ble-driver
  ];

  propagatedBuildInputs = [
    cryptography
    wrapt
  ];

  dontUseCmakeConfigure = true;

  # doCheck tries to write to the global python directory to install things
  doCheck = false;

  pythonImportsCheck = [ "pc_ble_driver_py" ];

  meta = with lib; {
    description = "Bluetooth Low Energy nRF5 SoftDevice serialization";
    homepage = "https://github.com/NordicSemiconductor/pc-ble-driver-py";
    changelog = "https://github.com/NordicSemiconductor/pc-ble-driver-py/releases/tag/v${version}";
    license = licenses.unfreeRedistributable;
    maintainers = with maintainers; [ gebner ];
    platforms = platforms.unix;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -388,6 +388,7 @@ mapAliases ({
  pathlib = throw "pathlib was removed as it has been integrated in python standard library in version 3.4"; # added 2024-05-13
  pathpy = path; # added 2022-04-12
  pcbnew-transition = pcbnewtransition; # added 2024-03-21
  pc-ble-driver-py = throw "pc-ble-driver-py has been removed because the upstream repository was archived in 2024"; # Added 2024-10-04
  pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29
  pdfminer = pdfminer-six; # added 2022-05-25
  pdfx = throw "pdfx has been removed because the upstream repository was archived in 2023"; # Added 2024-10-04
+0 −2
Original line number Diff line number Diff line
@@ -9738,8 +9738,6 @@ self: super: with self; {
  pbxproj = callPackage ../development/python-modules/pbxproj { };
  pc-ble-driver-py = callPackage ../development/python-modules/pc-ble-driver-py { };
  pcapy-ng = callPackage ../development/python-modules/pcapy-ng {
    inherit (pkgs) libpcap; # Avoid confusion with python package of the same name
  };