Merge pull request #18136 from ericsagnes/pkg-update/rainbowstream
rainbowstream: 1.3.3 -> 1.3.5
This commit is contained in:
commit
e3659cbd53
24
pkgs/development/python-modules/rainbowstream/setup.patch
Normal file
24
pkgs/development/python-modules/rainbowstream/setup.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 07b5913..2b7b15e 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -24,15 +24,16 @@ install_requires = [
|
||||||
|
]
|
||||||
|
|
||||||
|
# Default user (considers non virtualenv method)
|
||||||
|
-user = os.environ.get('SUDO_USER', os.environ['USER'])
|
||||||
|
+user = os.environ.get('SUDO_USER', os.environ.get('USER', None))
|
||||||
|
|
||||||
|
# Copy default config if not exists
|
||||||
|
default = os.path.expanduser("~") + os.sep + '.rainbow_config.json'
|
||||||
|
if not os.path.isfile(default):
|
||||||
|
cmd = 'cp rainbowstream/colorset/config ' + default
|
||||||
|
os.system(cmd)
|
||||||
|
- cmd = 'chown ' + quote(user) + ' ' + default
|
||||||
|
- os.system(cmd)
|
||||||
|
+ if user:
|
||||||
|
+ cmd = 'chown ' + quote(user) + ' ' + default
|
||||||
|
+ os.system(cmd)
|
||||||
|
cmd = 'chmod 777 ' + default
|
||||||
|
os.system(cmd)
|
||||||
|
|
@ -13392,17 +13392,18 @@ in modules // {
|
|||||||
|
|
||||||
rainbowstream = buildPythonPackage rec {
|
rainbowstream = buildPythonPackage rec {
|
||||||
name = "rainbowstream-${version}";
|
name = "rainbowstream-${version}";
|
||||||
version = "1.3.3";
|
version = "1.3.5";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/r/rainbowstream/${name}.tar.gz";
|
url = "mirror://pypi/r/rainbowstream/${name}.tar.gz";
|
||||||
sha256 = "08598slbn8sm2hjs0q1041fv7m56k2ky4q66rsihacjw0mg7blai";
|
sha256 = "0a8bs9g81ns47d4vaj5pfgw9zwbcp0nivlm5rps4dlb6qwvzni1w";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
../development/python-modules/rainbowstream/image.patch
|
../development/python-modules/rainbowstream/image.patch
|
||||||
|
../development/python-modules/rainbowstream/setup.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -13426,6 +13427,7 @@ in modules // {
|
|||||||
buildInputs = with self; [
|
buildInputs = with self; [
|
||||||
pkgs.libjpeg pkgs.freetype pkgs.zlib pkgs.glibcLocales
|
pkgs.libjpeg pkgs.freetype pkgs.zlib pkgs.glibcLocales
|
||||||
pillow twitter pyfiglet requests2 arrow dateutil modules.readline pysocks
|
pillow twitter pyfiglet requests2 arrow dateutil modules.readline pysocks
|
||||||
|
pocket
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -13436,6 +13438,27 @@ in modules // {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pocket = buildPythonPackage rec {
|
||||||
|
name = "pocket-${version}";
|
||||||
|
version = "0.3.6";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/p/pocket/${name}.tar.gz";
|
||||||
|
sha256 = "1fc9vc5nyzf1kzmnrs18dmns7nn8wjfrg7br1w4c5sgs35mg2ywh";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with self; [
|
||||||
|
requests2
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Wrapper for the pocket API";
|
||||||
|
homepage = "https://github.com/tapanpandita/pocket";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ericsagnes ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
mistune = buildPythonPackage rec {
|
mistune = buildPythonPackage rec {
|
||||||
version = "0.7.1";
|
version = "0.7.1";
|
||||||
name = "mistune-${version}";
|
name = "mistune-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user