mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
pythonPackages.carrot: Move to own file
This commit is contained in:
parent
a8327fe5b4
commit
788cdea3c9
22
pkgs/development/python-modules/carrot/default.nix
Normal file
22
pkgs/development/python-modules/carrot/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user