mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 20:07:49 +00:00
pkgs: add Rainbowstream, a streaming command-line twitter client.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
ceb367a8a2
commit
d43f1c86bd
@ -492,6 +492,23 @@ rec {
|
||||
|
||||
});
|
||||
|
||||
arrow = buildPythonPackage rec {
|
||||
name = "arrow-${version}";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/a/arrow/${name}.tar.gz";
|
||||
sha256 = "1sdr4gyjgvz86yr0ll0i11mgy8l1slndr7f0ngam87rpy78gp052";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Twitter API library";
|
||||
license = "apache";
|
||||
maintainers = [ maintainers.thoughtpolice ];
|
||||
};
|
||||
};
|
||||
|
||||
async = buildPythonPackage rec {
|
||||
name = "async-0.6.1";
|
||||
@ -4552,7 +4569,6 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
memcached = buildPythonPackage rec {
|
||||
name = "memcached-1.51";
|
||||
|
||||
@ -4607,6 +4623,35 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
rainbowstream = buildPythonPackage rec {
|
||||
name = "rainbowstream-${version}";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/r/rainbowstream/${name}.tar.gz";
|
||||
sha256 = "1xgfxk3qwbfdl2fwabcppi43dxmv8pik0wb9jsbszwxz9xv3fcpk";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [
|
||||
pkgs.libjpeg pkgs.freetype pkgs.zlib
|
||||
pillow twitter pyfiglet requests arrow dateutil modules.readline
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/rainbowstream" \
|
||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Streaming command-line twitter client";
|
||||
homepage = "http://www.rainbowstream.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.thoughtpolice ];
|
||||
};
|
||||
};
|
||||
|
||||
mitmproxy = buildPythonPackage rec {
|
||||
baseName = "mitmproxy";
|
||||
name = "${baseName}-${meta.version}";
|
||||
@ -6168,6 +6213,24 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
pyfiglet = buildPythonPackage rec {
|
||||
name = "pyfiglet-${version}";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/p/pyfiglet/${name}.tar.gz";
|
||||
sha256 = "14lgwg47gnnad7sfkmmwhknwysbfmr74c9b2a6d9wgjmydycc6ka";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "FIGlet in pure Python";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.thoughtpolice ];
|
||||
};
|
||||
};
|
||||
|
||||
pyflakes = buildPythonPackage rec {
|
||||
name = "pyflakes-0.8.1";
|
||||
|
||||
@ -8508,6 +8571,24 @@ rec {
|
||||
};
|
||||
});
|
||||
|
||||
twitter = buildPythonPackage rec {
|
||||
name = "twitter-${version}";
|
||||
version = "1.14.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/t/twitter/${name}.tar.gz";
|
||||
sha256 = "1nhhjajbq0jik43q2makpnz094qcziq9p8rj35jxamybd0hwwzs9";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Twitter API library";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.thoughtpolice ];
|
||||
};
|
||||
};
|
||||
|
||||
twisted = buildPythonPackage rec {
|
||||
# NOTE: When updating please check if new versions still cause issues
|
||||
# to packages like carbon (http://stackoverflow.com/questions/19894708/cant-start-carbon-12-04-python-error-importerror-cannot-import-name-daem)
|
||||
|
Loading…
Reference in New Issue
Block a user