Skip to content

Commit 957b920

Browse files
authored
python313Packages.pyliblo: switch to pyliblo3 fork (#418925)
2 parents 09a304b + 4276e92 commit 957b920

File tree

7 files changed

+68
-47
lines changed

7 files changed

+68
-47
lines changed

maintainers/maintainer-list.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,13 @@
19451945
githubId = 76066109;
19461946
name = "Mario Liguori";
19471947
};
1948+
archercatneo = {
1949+
name = "ArchercatNEO";
1950+
email = "[email protected]";
1951+
matrix = "@archercatneo:matrix.org";
1952+
github = "ArchercatNEO";
1953+
githubId = 108980279;
1954+
};
19481955
archseer = {
19491956
email = "[email protected]";
19501957
github = "archseer";

pkgs/applications/audio/carla/default.nix

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5+
fetchpatch2,
56
alsa-lib,
67
file,
78
fluidsynth,
@@ -36,6 +37,15 @@ stdenv.mkDerivation (finalAttrs: {
3637
hash = "sha256-FM/6TtNhDml1V9C5VisjLcZ3CzXsuwCZrsoz4yP3kI8=";
3738
};
3839

40+
patches = [
41+
(fetchpatch2 {
42+
# https://github.com/falkTX/Carla/pull/1933
43+
name = "prefer-pyliblo3-over-pyliblo.patch";
44+
url = "https://github.com/falkTX/Carla/commit/a81a2a545d2529233a6e0faa776fbd2d851442fb.patch?full_index=1";
45+
hash = "sha256-CHK3Aq/W9PdfMGsJunLN/WAxOmWJHc0jr/3TdEaIcMM=";
46+
})
47+
];
48+
3949
nativeBuildInputs = [
4050
python3Packages.wrapPython
4151
pkg-config
@@ -47,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
4757
with python3Packages;
4858
[
4959
rdflib
50-
pyliblo
60+
pyliblo3
5161
]
5262
++ lib.optional withFrontend pyqt5;
5363

pkgs/applications/audio/raysession/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
fetchurl,
44
buildPythonApplication,
55
libjack2,
6-
pyliblo,
6+
pyliblo3,
77
pyqt5,
88
which,
99
bash,
@@ -39,8 +39,8 @@ buildPythonApplication rec {
3939
libjack2
4040
bash
4141
];
42-
propagatedBuildInputs = [
43-
pyliblo
42+
dependencies = [
43+
pyliblo3
4444
pyqt5
4545
];
4646

pkgs/development/python-modules/pyliblo/default.nix

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
python,
7+
liblo,
8+
cython,
9+
}:
10+
11+
buildPythonPackage rec {
12+
pname = "pyliblo3";
13+
version = "0.16.3";
14+
pyproject = true;
15+
16+
src = fetchFromGitHub {
17+
owner = "gesellkammer";
18+
repo = "pyliblo3";
19+
tag = "v${version}";
20+
hash = "sha256-QfwZXkUT4U2Gfbv3rk0F/bze9hwJGn7H8t0X1SWqIuc=";
21+
};
22+
23+
build-system = [
24+
setuptools
25+
cython
26+
];
27+
28+
buildInputs = [ liblo ];
29+
30+
pythonImportsCheck = [ "pyliblo3" ];
31+
32+
checkPhase = ''
33+
runHook preCheck
34+
${python.interpreter} ./test/unit.py
35+
runHook postCheck
36+
'';
37+
38+
meta = {
39+
homepage = "https://github.com/gesellkammer/pyliblo3/";
40+
description = "Python wrapper for the liblo OSC library";
41+
changelog = "https://github.com/gesellkammer/pyliblo3/blob/${src.tag}/NEWS";
42+
license = lib.licenses.lgpl21Plus;
43+
maintainers = [ lib.maintainers.archercatneo ];
44+
};
45+
}

pkgs/top-level/python-aliases.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ mapAliases ({
563563
pyhiveapi = pyhive-integration; # Added 2025-02-22
564564
pyhs100 = throw "pyhs100 has been removed in favor of python-kasa."; # added 2024-01-05
565565
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
566+
pyliblo = throw "pyliblo is unmaintained upstream and was removed from nixpkgs. Please use pyliblo3 instead"; # added 2025-06-23
566567
PyLD = pyld; # added 2022-06-22
567568
pylti = throw "pylti has been removed because it is unmaintained since 2019"; # added 2024-05-21
568569
pymaging = throw "pymaging has been removed because it has not been maintained for 10 years and has been archived."; # added 2023-11-04

pkgs/top-level/python-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13026,7 +13026,7 @@ self: super: with self; {
1302613026

1302713027
pylibjpeg-openjpeg = callPackage ../development/python-modules/pylibjpeg-openjpeg { };
1302813028

13029-
pyliblo = callPackage ../development/python-modules/pyliblo { };
13029+
pyliblo3 = callPackage ../development/python-modules/pyliblo3 { };
1303013030

1303113031
pylibmc = callPackage ../development/python-modules/pylibmc { };
1303213032

0 commit comments

Comments
 (0)