nixpkgs/pkgs/development/python-modules/pyliblo/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
823 B
Nix

{ lib
, buildPythonPackage
, fetchurl
, isPyPy
, pythonAtLeast
, liblo
, cython
}:
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=";
})
];
buildInputs = [ liblo cython ];
meta = with lib; {
homepage = "https://das.nasophon.de/pyliblo/";
description = "Python wrapper for the liblo OSC library";
license = licenses.lgpl21Only;
};
}