python.pkgs.amqplib: move to separate expression

This commit is contained in:
wisut hantanong
2017-07-28 13:25:36 +07:00
parent c36a68e7d3
commit 8e1a2250e1
2 changed files with 21 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "amqplib";
version = "0.6.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://code.google.com/p/py-amqplib/;
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
};
}