nixpkgs-suyu/pkgs/development/python-modules/txzmq/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
658 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pyzmq
, twisted
}:
buildPythonPackage rec {
pname = "txzmq";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "txZMQ";
hash = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
};
propagatedBuildInputs = [
pyzmq
twisted
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "txzmq" ];
meta = with lib; {
description = "Twisted bindings for ZeroMQ";
homepage = "https://github.com/smira/txZMQ";
license = licenses.mpl20;
maintainers = with maintainers; [ wolfangaukang ];
};
}