pythonPackages.stompclient: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 17:49:27 -04:00
parent 265b0c85ac
commit 21226f859c
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 30 additions and 19 deletions

View File

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, mock
, nose
}:
buildPythonPackage rec {
pname = "stompclient";
version = "0.3.2";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "95a4e98dd0bba348714439ea11a25ee8a74acb8953f95a683924b5bf2a527e4e";
};
buildInputs = [ mock nose ];
# XXX: Ran 0 tests in 0.217s
meta = with stdenv.lib; {
description = "Lightweight and extensible STOMP messaging client";
homepage = https://bitbucket.org/hozn/stompclient;
license = licenses.asl20;
};
}

View File

@ -3914,25 +3914,7 @@ in {
python_statsd = callPackage ../development/python-modules/python_statsd { };
stompclient = buildPythonPackage (rec {
name = "stompclient-0.3.2";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/s/stompclient/${name}.tar.gz";
sha256 = "95a4e98dd0bba348714439ea11a25ee8a74acb8953f95a683924b5bf2a527e4e";
};
buildInputs = with self; [ mock nose ];
# XXX: Ran 0 tests in 0.217s
meta = {
description = "Lightweight and extensible STOMP messaging client";
homepage = https://bitbucket.org/hozn/stompclient;
license = licenses.asl20;
};
});
stompclient = callPackage ../development/python-modules/stompclient { };
subdownloader = buildPythonPackage rec {
version = "2.0.18";