depot/third_party/nixpkgs/pkgs/development/python-modules/pyliblo/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
572 B
Nix

{ lib
, buildPythonPackage
, fetchurl
, isPyPy
, pythonAtLeast
, liblo
, cython
}:
buildPythonPackage rec {
pname = "pyliblo";
version = "0.10.0";
disabled = isPyPy || pythonAtLeast "3.11";
src = fetchurl {
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
sha256 = "13vry6xhxm7adnbyj28w1kpwrh0kf7nw83cz1yq74wl21faz2rzw";
};
buildInputs = [ liblo cython ];
meta = with lib; {
homepage = "https://das.nasophon.de/pyliblo/";
description = "Python wrapper for the liblo OSC library";
license = licenses.lgpl21;
};
}