pythonPackages.carrot: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 17:46:19 +02:00 committed by Frederik Rietdijk
parent a8327fe5b4
commit 788cdea3c9
2 changed files with 23 additions and 22 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi
, nose, amqplib, anyjson }:
buildPythonPackage rec {
pname = "carrot";
version = "0.10.7";
src = fetchPypi {
inherit pname version;
sha256 = "0s14rs2fgp1s2qa0avn8gj33lwc3k1hd4y9a2h6mhg487i7kfinb";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ amqplib anyjson ];
doCheck = false; # depends on the network
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/carrot;
description = "AMQP Messaging Framework for Python";
};
}

View File

@ -1438,28 +1438,7 @@ in {
cairosvg = callPackage ../development/python-modules/cairosvg {};
carrot = buildPythonPackage rec {
name = "carrot-0.10.7";
src = pkgs.fetchurl {
url = "mirror://pypi/c/carrot/${name}.tar.gz";
sha256 = "cb46374f3c883c580d142a79d2609883713a867cc86e0514163adce784ce2468";
};
buildInputs = with self; [ self.nose ];
propagatedBuildInputs =
[ self.amqplib
self.anyjson
];
doCheck = false; # depends on the network
meta = {
homepage = https://pypi.python.org/pypi/carrot;
description = "AMQP Messaging Framework for Python";
};
};
carrot = callPackage ../development/python-modules/carrot {};
case = buildPythonPackage rec {
name = "case-${version}";