aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/twint.scm
diff options
context:
space:
mode:
authorBonfaceKilz2020-11-10 01:04:37 +0300
committerBonfaceKilz2020-11-10 02:01:08 +0300
commit2efe8a26f0a6a852dff073a8cf2694a9bbffbb89 (patch)
tree7f16c10eb643eddcc4876bb7003c5b1251ddcf34 /gn/packages/twint.scm
parent9cb0d9e3c5662198d5a0f9656c43ec4fefb9b5bc (diff)
downloadguix-bioinformatics-2efe8a26f0a6a852dff073a8cf2694a9bbffbb89.tar.gz
gn: python-twint: Patch twint to fix some bugs
* gn/packages/twint.scm (python-twint): [patches]: Add 2 new patches. [arguments]: Rename 'cast-variables-properly to 'twint-hot-fixes. * python-twint-mentions.patch: New file. * python-twint-userlist.patch: New file. See: https://github.com/twintproject/twint/issues/1012
Diffstat (limited to 'gn/packages/twint.scm')
-rw-r--r--gn/packages/twint.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn/packages/twint.scm b/gn/packages/twint.scm
index fc09b86..ae79eac 100644
--- a/gn/packages/twint.scm
+++ b/gn/packages/twint.scm
@@ -197,7 +197,9 @@
(commit "a45a8ac719d5710e7da92f77d9801b351e505c1f")))
(sha256
(base32
- "1bixwrwh1v7vpv0y6skgkml8zm82w00qwkvd6q79pkdj3hczha75"))))
+ "1bixwrwh1v7vpv0y6skgkml8zm82w00qwkvd6q79pkdj3hczha75"))
+ (patches (search-patches "python-twint-userlist.patch"
+ "python-twint-mentions.patch"))))
(build-system python-build-system)
(arguments
`(#:tests? #f
@@ -207,7 +209,7 @@
(lambda _
(substitute* "setup.py"
(("'dataclasses',") ""))))
- (add-after 'remove-deps 'cast-variables-properly
+ (add-after 'unpack 'twint-hot-fixes
(lambda _
;; TODO: Upstream this fix
(begin