Commit 4276e92b authored by ArchercatNEO's avatar ArchercatNEO
Browse files

python3Packages.pyliblo: drop

Fixes #389149
Supersedes #418499

pyliblo has been unmaintained for 10 years and its required cpython version is incompatible with python 3.13.
Rather than keeping and patching a package with build issues we are
moving to a fork which builds under modern tooling.
parent 56157c3f
Loading
Loading
Loading
Loading
+0 −42
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchurl,
  isPyPy,
  liblo,
  cython_0,
}:

buildPythonPackage rec {
  pname = "pyliblo";
  version = "0.10.0";
  format = "setuptools";
  disabled = isPyPy;

  src = fetchurl {
    url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
    sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw";
  };

  patches = [
    (fetchurl {
      url = "https://git.alpinelinux.org/aports/plain/community/py3-pyliblo/py3.11.patch?id=a7e1eca5533657ddd7e37c43e67e8126e3447258";
      hash = "sha256-4yCWNQaE/9FHGTVuvNEimBNuViWZ9aSJMcpTOP0fnM0=";
    })
    # Fix compile error due to  incompatible pointer type 'lo_blob_dataptr'
    (fetchurl {
      url = "https://github.com/dsacre/pyliblo/commit/ebbb255d6a73384ec2560047eab236660d4589db.patch?full_index=1";
      hash = "sha256-ZBAmBxSUT2xgoDVqSjq8TxW2jz3xR/pdCf2O3wMKvls=";
    })
  ];

  build-system = [ cython_0 ];

  buildInputs = [ liblo ];

  meta = with lib; {
    homepage = "https://das.nasophon.de/pyliblo/";
    description = "Python wrapper for the liblo OSC library";
    license = licenses.lgpl21Only;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -558,6 +558,7 @@ mapAliases ({
  pyhiveapi = pyhive-integration; # Added 2025-02-22
  pyhs100 = throw "pyhs100 has been removed in favor of python-kasa."; # added 2024-01-05
  pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
  pyliblo = throw "pyliblo is unmaintained upstream and was removed from nixpkgs. Please use pyliblo3 instead"; # added 2025-06-23
  PyLD = pyld; # added 2022-06-22
  pylti = throw "pylti has been removed because it is unmaintained since 2019"; # added 2024-05-21
  pymaging = throw "pymaging has been removed because it has not been maintained for 10 years and has been archived."; # added 2023-11-04
+0 −2
Original line number Diff line number Diff line
@@ -12915,8 +12915,6 @@ self: super: with self; {
  pylibjpeg-openjpeg = callPackage ../development/python-modules/pylibjpeg-openjpeg { };
  pyliblo = callPackage ../development/python-modules/pyliblo { };
  pyliblo3 = callPackage ../development/python-modules/pyliblo3 { };
  pylibmc = callPackage ../development/python-modules/pylibmc { };