nixpkgs/pkgs/development/python-modules/txzmq/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

37 lines
633 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pyzmq
, twisted
}:
buildPythonPackage rec {
pname = "txzmq";
version = "1.0.0";
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 ];
};
}