python313Packages.pyliblo: switch to pyliblo3 fork (#418925)
This commit is contained in:
commit
957b920dfd
@ -1945,6 +1945,13 @@
|
|||||||
githubId = 76066109;
|
githubId = 76066109;
|
||||||
name = "Mario Liguori";
|
name = "Mario Liguori";
|
||||||
};
|
};
|
||||||
|
archercatneo = {
|
||||||
|
name = "ArchercatNEO";
|
||||||
|
email = "tururu.pompella@gmail.com";
|
||||||
|
matrix = "@archercatneo:matrix.org";
|
||||||
|
github = "ArchercatNEO";
|
||||||
|
githubId = 108980279;
|
||||||
|
};
|
||||||
archseer = {
|
archseer = {
|
||||||
email = "blaz@mxxn.io";
|
email = "blaz@mxxn.io";
|
||||||
github = "archseer";
|
github = "archseer";
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch2,
|
||||||
alsa-lib,
|
alsa-lib,
|
||||||
file,
|
file,
|
||||||
fluidsynth,
|
fluidsynth,
|
||||||
@ -36,6 +37,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-FM/6TtNhDml1V9C5VisjLcZ3CzXsuwCZrsoz4yP3kI8=";
|
hash = "sha256-FM/6TtNhDml1V9C5VisjLcZ3CzXsuwCZrsoz4yP3kI8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
# https://github.com/falkTX/Carla/pull/1933
|
||||||
|
name = "prefer-pyliblo3-over-pyliblo.patch";
|
||||||
|
url = "https://github.com/falkTX/Carla/commit/a81a2a545d2529233a6e0faa776fbd2d851442fb.patch?full_index=1";
|
||||||
|
hash = "sha256-CHK3Aq/W9PdfMGsJunLN/WAxOmWJHc0jr/3TdEaIcMM=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
python3Packages.wrapPython
|
python3Packages.wrapPython
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -47,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
with python3Packages;
|
with python3Packages;
|
||||||
[
|
[
|
||||||
rdflib
|
rdflib
|
||||||
pyliblo
|
pyliblo3
|
||||||
]
|
]
|
||||||
++ lib.optional withFrontend pyqt5;
|
++ lib.optional withFrontend pyqt5;
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
fetchurl,
|
fetchurl,
|
||||||
buildPythonApplication,
|
buildPythonApplication,
|
||||||
libjack2,
|
libjack2,
|
||||||
pyliblo,
|
pyliblo3,
|
||||||
pyqt5,
|
pyqt5,
|
||||||
which,
|
which,
|
||||||
bash,
|
bash,
|
||||||
@ -39,8 +39,8 @@ buildPythonApplication rec {
|
|||||||
libjack2
|
libjack2
|
||||||
bash
|
bash
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
pyliblo
|
pyliblo3
|
||||||
pyqt5
|
pyqt5
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
45
pkgs/development/python-modules/pyliblo3/default.nix
Normal file
45
pkgs/development/python-modules/pyliblo3/default.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
setuptools,
|
||||||
|
python,
|
||||||
|
liblo,
|
||||||
|
cython,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyliblo3";
|
||||||
|
version = "0.16.3";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gesellkammer";
|
||||||
|
repo = "pyliblo3";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-QfwZXkUT4U2Gfbv3rk0F/bze9hwJGn7H8t0X1SWqIuc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
cython
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ liblo ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyliblo3" ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
${python.interpreter} ./test/unit.py
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/gesellkammer/pyliblo3/";
|
||||||
|
description = "Python wrapper for the liblo OSC library";
|
||||||
|
changelog = "https://github.com/gesellkammer/pyliblo3/blob/${src.tag}/NEWS";
|
||||||
|
license = lib.licenses.lgpl21Plus;
|
||||||
|
maintainers = [ lib.maintainers.archercatneo ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -563,6 +563,7 @@ mapAliases ({
|
|||||||
pyhiveapi = pyhive-integration; # Added 2025-02-22
|
pyhiveapi = pyhive-integration; # Added 2025-02-22
|
||||||
pyhs100 = throw "pyhs100 has been removed in favor of python-kasa."; # added 2024-01-05
|
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
|
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
|
PyLD = pyld; # added 2022-06-22
|
||||||
pylti = throw "pylti has been removed because it is unmaintained since 2019"; # added 2024-05-21
|
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
|
pymaging = throw "pymaging has been removed because it has not been maintained for 10 years and has been archived."; # added 2023-11-04
|
||||||
|
|||||||
@ -13026,7 +13026,7 @@ self: super: with self; {
|
|||||||
|
|
||||||
pylibjpeg-openjpeg = callPackage ../development/python-modules/pylibjpeg-openjpeg { };
|
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 { };
|
pylibmc = callPackage ../development/python-modules/pylibmc { };
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user