pythonPackages.coilmq: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 19:03:12 +02:00 committed by Frederik Rietdijk
parent d2829d7693
commit 869d9afd21
2 changed files with 26 additions and 24 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, stompclient, pythondaemon, redis, pid, pytest, six, click, coverage
, sqlalchemy }:
buildPythonPackage rec {
pname = "CoilMQ";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0wwa6fsqw1mxsryvgp0yrdjil8axyj0kslzi7lr45cnhgp5ab375";
};
propagatedBuildInputs = [ stompclient pythondaemon redis pid ];
buildInputs = [ pytest six click coverage sqlalchemy ];
# The teste data is not included in the distribution
doCheck = false;
meta = with stdenv.lib; {
description = "Simple, lightweight, and easily extensible STOMP message broker";
homepage = http://code.google.com/p/coilmq/;
license = licenses.asl20;
};
}

View File

@ -1596,30 +1596,7 @@ in {
};
});
coilmq = buildPythonPackage (rec {
name = "CoilMQ-${version}";
version = "1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/C/CoilMQ/${name}.tar.gz";
sha256 = "0wwa6fsqw1mxsryvgp0yrdjil8axyj0kslzi7lr45cnhgp5ab375";
};
propagatedBuildInputs = with self; [ stompclient pythondaemon redis pid];
buildInputs = with self; [ pytest six click coverage sqlalchemy ];
# The teste data is not included in the distribution
doCheck = false;
meta = {
description = "Simple, lightweight, and easily extensible STOMP message broker";
homepage = http://code.google.com/p/coilmq/;
license = licenses.asl20;
};
});
coilmq = callPackage ../development/python-modules/coilmq { };
colander = callPackage ../development/python-modules/colander { };