nixpkgs/pkgs/development/python-modules/zerorpc/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
660 B
Nix

{ lib, buildPythonPackage, fetchPypi, future, gevent, msgpack, pyzmq }:
buildPythonPackage rec {
pname = "zerorpc";
version = "0.6.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "d2ee247a566fc703f29c277d767f6f61f1e12f76d0402faea4bd815f32cbf37f";
};
propagatedBuildInputs = [ future gevent msgpack pyzmq ];
doCheck = false; # pypi version doesn't include tests
meta = with lib; {
description = "An easy to use, intuitive, and cross-language RPC";
mainProgram = "zerorpc";
homepage = "https://www.zerorpc.io";
license = licenses.mit;
maintainers = with maintainers; [ xeji ];
};
}