2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2018-10-05 02:51:46 +01:00
|
|
|
, stompclient, python-daemon, redis, pid, pytest, six, click, coverage
|
2018-03-31 18:03:12 +01:00
|
|
|
, sqlalchemy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "CoilMQ";
|
2018-04-04 19:04:16 +01:00
|
|
|
version = "1.0.1";
|
2018-03-31 18:03:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:04:16 +01:00
|
|
|
sha256 = "4cbfeb5ed2459df14902c1380157be6267702b1271682924cd316ccad8a29d1d";
|
2018-03-31 18:03:12 +01:00
|
|
|
};
|
|
|
|
|
2018-10-05 02:51:46 +01:00
|
|
|
propagatedBuildInputs = [ stompclient python-daemon redis pid ];
|
2018-03-31 18:03:12 +01:00
|
|
|
buildInputs = [ pytest six click coverage sqlalchemy ];
|
|
|
|
|
|
|
|
# The teste data is not included in the distribution
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-31 18:03:12 +01:00
|
|
|
description = "Simple, lightweight, and easily extensible STOMP message broker";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/hozn/coilmq/";
|
2018-03-31 18:03:12 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|