nixpkgs/pkgs/development/python-modules/sleekxmpp/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

28 lines
688 B
Nix

{ stdenv, lib, fetchPypi, buildPythonPackage, pythonAtLeast, dnspython, pyasn1 }:
buildPythonPackage rec {
pname = "sleekxmpp";
version = "1.3.3";
format = "setuptools";
disabled = pythonAtLeast "3.10"; # Deprecated in favor of Slixmpp
propagatedBuildInputs = [ dnspython pyasn1 ];
patches = [
./dnspython-ip6.patch
];
src = fetchPypi {
inherit pname version;
sha256 = "d213c1de71d92505f95ced0460ee0f84fdc4ddcacb7d7dd343739ed4028e5569";
};
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
description = "XMPP library for Python";
license = licenses.mit;
homepage = "http://sleekxmpp.com/";
};
}