summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aux-files/matrix-purple/fix-g_memdup.patch25
-rw-r--r--aux-files/openbox/openbox-add-fix-for-glib2-exposed-segfault.patch50
-rw-r--r--aux-files/openbox/openbox-python3.patch165
-rw-r--r--aux-files/python-bugwarrior/gitea-support.patch149
-rw-r--r--aux-files/stable-diffusion-cpp/vulkan-support.patch123
-rw-r--r--backport.scm410
-rw-r--r--bugwarrior.scm67
-rw-r--r--machinelearning.scm675
-rw-r--r--messaging.scm322
-rw-r--r--prismlauncher-gpu.scm83
-rw-r--r--python-xyz.scm146
-rw-r--r--ruby-xyz.scm530
-rw-r--r--sherlock.scm7
-rw-r--r--unlustig.scm2428
-rw-r--r--vesktop.scm4
15 files changed, 3695 insertions, 1489 deletions
diff --git a/aux-files/matrix-purple/fix-g_memdup.patch b/aux-files/matrix-purple/fix-g_memdup.patch
new file mode 100644
index 0000000..d0ed6dc
--- /dev/null
+++ b/aux-files/matrix-purple/fix-g_memdup.patch
@@ -0,0 +1,25 @@
+From 2452ec47427f62a9a521742c4d46bceb073229db Mon Sep 17 00:00:00 2001
+From: msglm <msglm@techchud.xyz>
+Date: Sun, 19 Jan 2025 11:53:20 -0600
+Subject: [PATCH] g_memdup -> g_memdup2
+
+---
+ matrix-room.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/matrix-room.c b/matrix-room.c
+index 34ae48b..0d7bc06 100644
+--- a/matrix-room.c
++++ b/matrix-room.c
+@@ -671,7 +671,7 @@ static void _image_download_complete(MatrixConnectionData *ma,
+ }
+ if (is_known_image_type(content_type)) {
+ /* Excellent - something to work with */
+- int img_id = purple_imgstore_add_with_id(g_memdup(raw_body, raw_body_len),
++ int img_id = purple_imgstore_add_with_id(g_memdup2(raw_body, raw_body_len),
+ raw_body_len, NULL);
+ serv_got_chat_in(rid->conv->account->gc, g_str_hash(rid->room_id), rid->sender_display_name,
+ PURPLE_MESSAGE_RECV | PURPLE_MESSAGE_IMAGES,
+--
+2.46.0
+
diff --git a/aux-files/openbox/openbox-add-fix-for-glib2-exposed-segfault.patch b/aux-files/openbox/openbox-add-fix-for-glib2-exposed-segfault.patch
new file mode 100644
index 0000000..ef68d31
--- /dev/null
+++ b/aux-files/openbox/openbox-add-fix-for-glib2-exposed-segfault.patch
@@ -0,0 +1,50 @@
+From 9ed6fdd71890c5cc43747f105382d5677e5d37e7 Mon Sep 17 00:00:00 2001
+From: pldubouilh <pldubouilh@gmail.com>
+Date: Fri, 17 Mar 2023 18:23:47 +0100
+Subject: [PATCH] Fix list traversal issue in client_calc_layer
+
+The calls to client_calc_layer_internal can modify stacking_list, which
+can cause us to follow dangling ->next pointers (either by the pointer
+itself already being freed, or it pointing to a freed area). Avoid this
+by copying the list first, the goal is to visit every client in the list
+once so this should be fine.
+---
+ openbox/client.c | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/openbox/client.c b/openbox/client.c
+index 7168b2407..b8264587c 100644
+--- a/openbox/client.c
++++ b/openbox/client.c
+@@ -2742,9 +2742,12 @@ static void client_calc_layer_internal(ObClient *self)
+ void client_calc_layer(ObClient *self)
+ {
+ GList *it;
++ /* the client_calc_layer_internal calls below modify stacking_list,
++ so we have to make a copy to iterate over */
++ GList *list = g_list_copy(stacking_list);
+
+ /* skip over stuff above fullscreen layer */
+- for (it = stacking_list; it; it = g_list_next(it))
++ for (it = list; it; it = g_list_next(it))
+ if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
+
+ /* find the windows in the fullscreen layer, and mark them not-visited */
+@@ -2757,7 +2760,7 @@ void client_calc_layer(ObClient *self)
+ client_calc_layer_internal(self);
+
+ /* skip over stuff above fullscreen layer */
+- for (it = stacking_list; it; it = g_list_next(it))
++ for (it = list; it; it = g_list_next(it))
+ if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
+
+ /* now recalc any windows in the fullscreen layer which have not
+@@ -2768,6 +2771,8 @@ void client_calc_layer(ObClient *self)
+ !WINDOW_AS_CLIENT(it->data)->visited)
+ client_calc_layer_internal(it->data);
+ }
++
++ g_list_free(it);
+ }
+
+ gboolean client_should_show(ObClient *self)
diff --git a/aux-files/openbox/openbox-python3.patch b/aux-files/openbox/openbox-python3.patch
new file mode 100644
index 0000000..782524d
--- /dev/null
+++ b/aux-files/openbox/openbox-python3.patch
@@ -0,0 +1,165 @@
+Retrieved from the openbox Debian package.
+
+From acfbbc4ea40932f183617bb7006700140fe5f61e Mon Sep 17 00:00:00 2001
+From: Troy Curtis Jr <troycurtisjr@gmail.com>
+Date: Wed, 13 Sep 2017 21:59:48 -0500
+Subject: [PATCH] Add python3 support to openbox-xdg-autostart.
+
+Updated syntax in openbox-xdg-autostart to support both python2 and
+python3.
+
+Added a configure substitution to set the chosen python at build time.
+
+https://bugzilla.icculus.org/show_bug.cgi?id=6444
+---
+ .gitignore | 1 +
+ configure.ac | 3 +
+ ...xdg-autostart => openbox-xdg-autostart.in} | 70 +++++++++----------
+ 3 files changed, 38 insertions(+), 36 deletions(-)
+ rename data/autostart/{openbox-xdg-autostart => openbox-xdg-autostart.in} (77%)
+
+diff --git a/configure.ac b/configure.ac
+index ca1602670..9a31e9845 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -103,6 +103,8 @@ AC_CHECK_HEADERS(ctype.h dirent.h errno.h fcntl.h grp.h locale.h pwd.h)
+ AC_CHECK_HEADERS(signal.h string.h stdio.h stdlib.h unistd.h sys/stat.h)
+ AC_CHECK_HEADERS(sys/select.h sys/socket.h sys/time.h sys/types.h sys/wait.h)
+
++AM_PATH_PYTHON([2],,)
++
+ AC_PATH_PROG([SED], [sed], [no])
+ if test "$SED" = "no"; then
+ AC_MSG_ERROR([The program "sed" is not available. This program is required to build Openbox.])
+@@ -259,6 +261,7 @@ AC_CONFIG_FILES([
+ obrender/version.h
+ obt/version.h
+ version.h
++ data/autostart/openbox-xdg-autostart
+ ])
+ AC_CONFIG_COMMANDS([doc],
+ [test -d doc || mkdir doc])
+diff --git a/data/autostart/openbox-xdg-autostart b/data/autostart/openbox-xdg-autostart.in
+similarity index 77%
+rename from data/autostart/openbox-xdg-autostart
+rename to data/autostart/openbox-xdg-autostart.in
+index 04a17a199..3c365b112 100755
+--- a/data/autostart/openbox-xdg-autostart
++++ b/data/autostart/openbox-xdg-autostart.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!@PYTHON@
+
+ # openbox-xdg-autostart runs things based on the XDG autostart specification
+ # Copyright (C) 2008 Dana Jansens
+@@ -28,9 +28,7 @@ try:
+ from xdg.DesktopEntry import DesktopEntry
+ from xdg.Exceptions import ParsingError
+ except ImportError:
+- print
+- print >>sys.stderr, "ERROR:", ME, "requires PyXDG to be installed"
+- print
++ sys.stderr.write("\nERROR: %s requires PyXDG to be installed\n" % ME)
+ sys.exit(1)
+
+ def main(argv=sys.argv):
+@@ -51,7 +49,7 @@ def main(argv=sys.argv):
+ try:
+ autofile = AutostartFile(path)
+ except ParsingError:
+- print "Invalid .desktop file: " + path
++ print("Invalid .desktop file: " + path)
+ else:
+ if not autofile in files:
+ files.append(autofile)
+@@ -99,9 +97,9 @@ class AutostartFile:
+
+ def _alert(self, str, info=False):
+ if info:
+- print "\t ", str
++ print("\t ", str)
+ else:
+- print "\t*", str
++ print("\t*", str)
+
+ def _showInEnvironment(self, envs, verbose=False):
+ default = not self.de.getOnlyShowIn()
+@@ -146,14 +144,14 @@ class AutostartFile:
+
+ def display(self, envs):
+ if self._shouldRun(envs):
+- print "[*] " + self.de.getName()
++ print("[*] " + self.de.getName())
+ else:
+- print "[ ] " + self.de.getName()
++ print("[ ] " + self.de.getName())
+ self._alert("File: " + self.path, info=True)
+ if self.de.getExec():
+ self._alert("Executes: " + self.de.getExec(), info=True)
+ self._shouldRun(envs, True)
+- print
++ print()
+
+ def run(self, envs):
+ here = os.getcwd()
+@@ -165,34 +163,34 @@ class AutostartFile:
+ os.chdir(here)
+
+ def show_help():
+- print "Usage:", ME, "[OPTION]... [ENVIRONMENT]..."
+- print
+- print "This tool will run xdg autostart .desktop files"
+- print
+- print "OPTIONS"
+- print " --list Show a list of the files which would be run"
+- print " Files which would be run are marked with an asterix"
+- print " symbol [*]. For files which would not be run,"
+- print " information is given for why they are excluded"
+- print " --help Show this help and exit"
+- print " --version Show version and copyright information"
+- print
+- print "ENVIRONMENT specifies a list of environments for which to run autostart"
+- print "applications. If none are specified, only applications which do not "
+- print "limit themselves to certain environments will be run."
+- print
+- print "ENVIRONMENT can be one or more of:"
+- print " GNOME Gnome Desktop"
+- print " KDE KDE Desktop"
+- print " ROX ROX Desktop"
+- print " XFCE XFCE Desktop"
+- print " Old Legacy systems"
+- print
++ print("Usage:", ME, "[OPTION]... [ENVIRONMENT]...")
++ print()
++ print("This tool will run xdg autostart .desktop files")
++ print()
++ print("OPTIONS")
++ print(" --list Show a list of the files which would be run")
++ print(" Files which would be run are marked with an asterix")
++ print(" symbol [*]. For files which would not be run,")
++ print(" information is given for why they are excluded")
++ print(" --help Show this help and exit")
++ print(" --version Show version and copyright information")
++ print()
++ print("ENVIRONMENT specifies a list of environments for which to run autostart")
++ print("applications. If none are specified, only applications which do not ")
++ print("limit themselves to certain environments will be run.")
++ print()
++ print("ENVIRONMENT can be one or more of:")
++ print(" GNOME Gnome Desktop")
++ print(" KDE KDE Desktop")
++ print(" ROX ROX Desktop")
++ print(" XFCE XFCE Desktop")
++ print(" Old Legacy systems")
++ print()
+
+ def show_version():
+- print ME, VERSION
+- print "Copyright (c) 2008 Dana Jansens"
+- print
++ print(ME, VERSION)
++ print("Copyright (c) 2008 Dana Jansens")
++ print()
+
+ if __name__ == "__main__":
+ sys.exit(main())
diff --git a/aux-files/python-bugwarrior/gitea-support.patch b/aux-files/python-bugwarrior/gitea-support.patch
index 6c2c331..80ccb4b 100644
--- a/aux-files/python-bugwarrior/gitea-support.patch
+++ b/aux-files/python-bugwarrior/gitea-support.patch
@@ -1,7 +1,7 @@
From 6d7e50b5d1f7e79a685b08045cd91ea0b24f2154 Mon Sep 17 00:00:00 2001
From: wamsachel <wamsachel@gmail.com>
Date: Wed, 1 Apr 2020 22:27:52 +0000
-Subject: [PATCH 1/2] (WIP) Adding service support for Gitea
+Subject: [PATCH 1/8] (WIP) Adding service support for Gitea
Imported from https://github.com/GothenburgBitFactory/bugwarrior/pull/720
---
@@ -568,7 +568,7 @@ index c761a231..b5306da5 100644
From 80cd03d1ff85244f8a2c2beb37eab16af11e1adf Mon Sep 17 00:00:00 2001
From: msglm <msglm@techchud.xyz>
Date: Tue, 21 May 2024 04:21:35 -0500
-Subject: [PATCH 2/2] Add basic Gitea support
+Subject: [PATCH 2/8] Add basic Gitea support
Builds off PR #720 to add gitea integration to bugwarrior.
---
@@ -844,7 +844,7 @@ index a4c174c8..445846ff 100644
From 81b3fa0b47db93fb83a54c6727f5ee3c408797c5 Mon Sep 17 00:00:00 2001
From: msglm <msglm@techchud.xyz>
Date: Wed, 22 May 2024 20:59:54 -0500
-Subject: [PATCH 3/4] Add basic documentation
+Subject: [PATCH 3/8] Add basic documentation
mish-mash between the github and gitlab documentation with everything I
don't think is supported removed.
@@ -987,7 +987,7 @@ index 00000000..6ccf2308
From 1626a36c15013fc42e369cdc9ef98c23e10845c2 Mon Sep 17 00:00:00 2001
From: msglm <msglm@techchud.xyz>
Date: Wed, 22 May 2024 21:00:20 -0500
-Subject: [PATCH 4/4] Remove Six usage and clean the codebase
+Subject: [PATCH 4/8] Remove Six usage and clean the codebase
Suggestions from here are implemented
https://github.com/GothenburgBitFactory/bugwarrior/pull/1048#pullrequestreview-2070021239
@@ -1057,7 +1057,7 @@ index 445846ff..341ec617 100644
From 17b725774281e9742b786dbcbcf791f7f3dacf61 Mon Sep 17 00:00:00 2001
From: msglm <msglm@techchud.xyz>
Date: Thu, 23 May 2024 05:03:39 -0500
-Subject: [PATCH 5/6] Intake Critique and simplify
+Subject: [PATCH 5/8] Intake Critique and simplify
Remove user+pass auth, token only now.
Added issue API Querying for writing custom queries
@@ -1367,7 +1367,7 @@ index 341ec617..28a92e96 100644
From 3eb6e743c7ee4c7892525c05d880f5d05d3f8600 Mon Sep 17 00:00:00 2001
From: msglm <msglm@techchud.xyz>
Date: Thu, 23 May 2024 05:13:33 -0500
-Subject: [PATCH 6/6] Documentation for previous commit
+Subject: [PATCH 6/8] Documentation for previous commit
---
bugwarrior/docs/services/gitea.rst | 31 +++++++++++++++++++++++++++---
@@ -1424,3 +1424,140 @@ index 6ccf2308..19e0930a 100644
Provided UDA Fields
-------------------
+
+From 439c3f02338a43dcd0309fe297a706f0232a6138 Mon Sep 17 00:00:00 2001
+From: msglm <msglm@techchud.xyz>
+Date: Wed, 19 Feb 2025 03:32:02 -0600
+Subject: [PATCH 7/8] Update to modern standards
+
+---
+ bugwarrior/services/gitea.py | 37 +++++++++++++++---------------------
+ 1 file changed, 15 insertions(+), 22 deletions(-)
+
+diff --git a/bugwarrior/services/gitea.py b/bugwarrior/services/gitea.py
+index 28a92e96..8814633a 100644
+--- a/bugwarrior/services/gitea.py
++++ b/bugwarrior/services/gitea.py
+@@ -3,9 +3,9 @@
+ """Bugwarrior service support class for Gitea
+
+ Available classes:
+-- GiteaClient(ServiceClient): Constructs Gitea API strings
++- GiteaClient(Service): Constructs Gitea API strings
+ - GiteaIssue(Issue): TaskWarrior Interface
+-- GiteaService(IssueService): Engine for firing off requests
++- GiteaService(Issue): Engine for firing off requests
+
+ Todo:
+ * Add token support
+@@ -25,7 +25,7 @@
+ from jinja2 import Template
+
+ from bugwarrior import config
+-from bugwarrior.services import IssueService, Issue, ServiceClient
++from bugwarrior.services import Issue, Service, Client
+
+ log = logging.getLogger(__name__) # pylint: disable-msg=C0103
+
+@@ -62,7 +62,7 @@ def get(self, key, default=None, to_type=None):
+ return default
+
+
+-class GiteaClient(ServiceClient):
++class GiteaClient(Client):
+ """Builds Gitea API strings
+ Args:
+ host (str): remote gitea server
+@@ -263,8 +263,11 @@ class GiteaIssue(Issue):
+ @staticmethod
+ def _normalize_label_to_tag(label):
+ return re.sub(r'[^a-zA-Z0-9]', '_', label)
++ def get_tags(self):
++ labels = [label['name'] for label in self.record.get('labels', [])]
++ return self.get_tags_from_labels(labels)
+
+- def to_taskwarrior(self):
++ def to_taskwarrior(self) -> dict:
+ milestone = self.record['milestone']
+ if milestone:
+ milestone = milestone['title']
+@@ -302,31 +305,18 @@ def to_taskwarrior(self):
+ self.NAMESPACE: self.extra['namespace'],
+ self.STATE: self.record.get('state', '')
+ }
+- def get_tags(self):
+- labels = [label['name'] for label in self.record.get('labels', [])]
+- return self.get_tags_from_labels(labels)
+-
+- def get_default_description(self):
+- log.info('In get_default_description')
+- return self.build_default_description(
+- title=self.record['title'],
+- url=self.get_processed_url(self.record['url']),
+- number=self.record['number'],
+- cls=self.extra['type'],
+- )
+-
+
+ def get_default_description(self):
+ log.info('In get_default_description')
+ return self.build_default_description(
+ title=self.record['title'],
+- url=self.get_processed_url(self.record['url']),
++ url=self.record['url'],
+ number=self.record['number'],
+ cls=self.extra['type'],
+ )
+
+
+-class GiteaService(IssueService):
++class GiteaService(Service):
+ ISSUE_CLASS = GiteaIssue
+ CONFIG_SCHEMA = GiteaConfig
+ CONFIG_PREFIX = 'gitea'
+@@ -455,7 +445,7 @@ def annotations(self, tag, issue, issue_obj):
+ ) for c in comments)
+ annotations_result = self.build_annotations(
+ annotations,
+- issue_obj.get_processed_url(url))
++ url)
+ log.info('annotations: {}'.format(annotations_result))
+ return annotations_result
+
+@@ -573,6 +563,9 @@ def issues(self):
+ 'annotations': [issue['body']],
+ 'namespace': self.username,
+ }
+- issue_obj.update_extra(extra)
++ issue_obj.extra.update(extra)
+ yield issue_obj
+
++
++
++
+
+From db4c47837d15cb126cb97a97f72db061052db5ab Mon Sep 17 00:00:00 2001
+From: msglm <msglm@techchud.xyz>
+Date: Wed, 19 Feb 2025 03:34:16 -0600
+Subject: [PATCH 8/8] Do not yield on AttributeError
+
+Previously, when there is an AttributeError in a service, the service
+will return its issue object instead of a dictionary representation of
+the issue. This fixes it by raising an error if this happens.
+---
+ bugwarrior/collect.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bugwarrior/collect.py b/bugwarrior/collect.py
+index 8d435461..34af838a 100644
+--- a/bugwarrior/collect.py
++++ b/bugwarrior/collect.py
+@@ -100,7 +100,7 @@ def aggregate_issues(conf, main_section, debug):
+ log.error(f"Aborted [{target}] due to critical error.")
+ yield ('SERVICE FAILED', target)
+ continue
+- yield issue
++ raise
+
+ log.info("Done aggregating remote issues.")
+
diff --git a/aux-files/stable-diffusion-cpp/vulkan-support.patch b/aux-files/stable-diffusion-cpp/vulkan-support.patch
new file mode 100644
index 0000000..88f5fbf
--- /dev/null
+++ b/aux-files/stable-diffusion-cpp/vulkan-support.patch
@@ -0,0 +1,123 @@
+From 15553084e5d1a7d6abd3aac176bee95b0247c379 Mon Sep 17 00:00:00 2001
+From: sohzm <sohxm7@gmail.com>
+Date: Wed, 19 Jun 2024 04:08:18 +0530
+Subject: [PATCH] wip
+
+---
+ CMakeLists.txt | 7 +++++++
+ ggml | 2 +-
+ ggml_extend.hpp | 6 +++++-
+ model.cpp | 4 ++++
+ stable-diffusion.cpp | 6 +++++-
+ upscaler.cpp | 4 ++++
+ 6 files changed, 26 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 28a03fb..6b5679f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -27,6 +27,7 @@ option(SD_BUILD_EXAMPLES "sd: build examples" ${SD_STANDALONE})
+ option(SD_CUBLAS "sd: cuda backend" OFF)
+ option(SD_HIPBLAS "sd: rocm backend" OFF)
+ option(SD_METAL "sd: metal backend" OFF)
++option(SD_VULKAN "sd: vulkan backend" OFF)
+ option(SD_FLASH_ATTN "sd: use flash attention for x4 less memory usage" OFF)
+ option(SD_FAST_SOFTMAX "sd: x1.5 faster softmax, indeterministic (sometimes, same seed don't generate same image), cuda only" OFF)
+ option(SD_BUILD_SHARED_LIBS "sd: build shared libs" OFF)
+@@ -44,6 +45,12 @@ if(SD_METAL)
+ add_definitions(-DSD_USE_METAL)
+ endif()
+
++if (SD_VULKAN)
++ message("Use Vulkan as backend stable-diffusion")
++ set(GGML_VULKAN ON)
++ add_definitions(-DSD_USE_VULKAN)
++endif ()
++
+ if (SD_HIPBLAS)
+ message("Use HIPBLAS as backend stable-diffusion")
+ set(GGML_HIPBLAS ON)
+diff --git a/ggml b/ggml
+index 9d562d7..5653a19 160000
+--- a/ggml
++++ b/ggml
+@@ -1 +1 @@
+-Subproject commit 9d562d712513c77a4de44ad0428be62bc3f2a9cf
++Subproject commit 5653a195935ea3ac54652644c9daf154dbc1571b
+diff --git a/ggml_extend.hpp b/ggml_extend.hpp
+index dbe9303..1236996 100644
+--- a/ggml_extend.hpp
++++ b/ggml_extend.hpp
+@@ -32,6 +32,10 @@
+ #include "ggml-metal.h"
+ #endif
+
++#ifdef SD_USE_VULKAN
++#include "ggml-vulkan.h"
++#endif
++
+ #include "rng.hpp"
+ #include "util.h"
+
+@@ -588,7 +592,7 @@ __STATIC_INLINE__ struct ggml_tensor* ggml_nn_attention(struct ggml_context* ctx
+ struct ggml_tensor* k,
+ struct ggml_tensor* v,
+ bool mask = false) {
+-#if defined(SD_USE_FLASH_ATTENTION) && !defined(SD_USE_CUBLAS) && !defined(SD_USE_METAL)
++#if defined(SD_USE_FLASH_ATTENTION) && !defined(SD_USE_CUBLAS) && !defined(SD_USE_METAL) && !defined(SD_USE_VULKAN)
+ struct ggml_tensor* kqv = ggml_flash_attn(ctx, q, k, v, false); // [N * n_head, n_token, d_head]
+ #else
+ float d_head = (float)q->ne[0];
+diff --git a/model.cpp b/model.cpp
+index c4556a9..db8bae8 100644
+--- a/model.cpp
++++ b/model.cpp
+@@ -21,6 +21,10 @@
+ #include "ggml-metal.h"
+ #endif
+
++#ifdef SD_USE_VULKAN
++#include "ggml-vulkan.h"
++#endif
++
+ #define ST_HEADER_SIZE_LEN 8
+
+ uint64_t read_u64(uint8_t* buffer) {
+diff --git a/stable-diffusion.cpp b/stable-diffusion.cpp
+index 8e439d2..3521e76 100644
+--- a/stable-diffusion.cpp
++++ b/stable-diffusion.cpp
+@@ -154,13 +154,17 @@ class StableDiffusionGGML {
+ ggml_backend_metal_log_set_callback(ggml_log_callback_default, nullptr);
+ backend = ggml_backend_metal_init();
+ #endif
++#ifdef SD_USE_VULKAN
++ LOG_DEBUG("Using Vulkan backend");
++ backend = ggml_backend_vk_init();
++#endif
+
+ if (!backend) {
+ LOG_DEBUG("Using CPU backend");
+ backend = ggml_backend_cpu_init();
+ }
+ #ifdef SD_USE_FLASH_ATTENTION
+-#if defined(SD_USE_CUBLAS) || defined(SD_USE_METAL)
++#if defined(SD_USE_CUBLAS) || defined(SD_USE_METAL) || defined(SD_USE_VULKAN)
+ LOG_WARN("Flash Attention not supported with GPU Backend");
+ #else
+ LOG_INFO("Flash Attention enabled");
+diff --git a/upscaler.cpp b/upscaler.cpp
+index 0e3f95d..7623f9b 100644
+--- a/upscaler.cpp
++++ b/upscaler.cpp
+@@ -24,6 +24,10 @@ struct UpscalerGGML {
+ ggml_backend_metal_log_set_callback(ggml_log_callback_default, nullptr);
+ backend = ggml_backend_metal_init();
+ #endif
++#ifdef SD_USE_VULKAN
++ LOG_DEBUG("Using Vulkan backend");
++ backend = ggml_backend_vk_init(0);
++#endif
+
+ if (!backend) {
+ LOG_DEBUG("Using CPU backend");
diff --git a/backport.scm b/backport.scm
new file mode 100644
index 0000000..d83524b
--- /dev/null
+++ b/backport.scm
@@ -0,0 +1,410 @@
+(define-module (backport)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages admin)
+ #:use-module (gnu packages algebra)
+ #:use-module (gnu packages assembly)
+ #:use-module (gnu packages audio)
+ #:use-module (gnu packages autogen)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages backup)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages boost)
+ #:use-module (gnu packages cdrom)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages cmake)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages containers)
+ #:use-module (gnu packages cross-base)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages digest)
+ #:use-module (gnu packages elf)
+ #:use-module (gnu packages emulators)
+ #:use-module (gnu packages engineering)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages fltk)
+ #:use-module (gnu packages fonts)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages fribidi)
+ #:use-module (gnu packages game-development)
+ #:use-module (gnu packages game-development)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages graphics)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages libedit)
+ #:use-module (gnu packages libusb)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages lua)
+ #:use-module (gnu packages maths)
+ #:use-module (gnu packages mp3)
+ #:use-module (gnu packages music)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages networking)
+ #:use-module (gnu packages networking)
+ #:use-module (gnu packages openbox)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pretty-print)
+ #:use-module (gnu packages pretty-print)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages sdl)
+ #:use-module (gnu packages sdl)
+ #:use-module (gnu packages sphinx)
+ #:use-module (gnu packages sqlite)
+ #:use-module (gnu packages texinfo)
+ #:use-module (gnu packages textutils)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages upnp)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module (guix hg-download)
+ #:use-module (guix packages)
+ #:use-module (guix svn-download)
+ #:use-module (guix utils)
+ #:use-module (ice-9 match)
+ )
+
+(define-public dolphin-emu-next
+ (package
+ (inherit dolphin-emu)
+ (name "dolphin-emu-next")
+ (version "2503")
+ ;(version "ad3650abfcae6432338ba976123958ee67a4106c")
+ (inputs
+ (list alsa-lib
+ ao
+ bluez
+ bzip2
+ cubeb
+ curl
+ enet-1.3.18
+ eudev
+ ffmpeg-4
+ fmt-10
+ font-wqy-microhei
+ freetype
+ git-minimal
+ glew
+ glib
+ glu
+ gtk+-2
+ hidapi
+ libevdev
+ libpng
+ libusb
+ libx11
+ libxi
+ libxrandr
+ lzo
+ mbedtls-lts
+ mesa
+ miniupnpc
+ minizip-ng
+ openal
+ pugixml
+ pulseaudio
+ qtbase
+ qtsvg
+ sdl2-2.30.9
+ sfml-3
+ soil
+ soundtouch-1/integer-samples
+ vulkan-loader
+ xxhash
+ zlib
+ libxcursor
+ libxi
+ `(,zstd "lib")))
+
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'set-scm-desc-str
+ (lambda _
+ (substitute* "Source/Core/Common/scmrev.h.in" (("#define SCM_REV_STR \"\\$\\{DOLPHIN_WC_REVISION\\}\"") "#define SCM_REV_STR \"9763c0a1e2b9db0c3861d25bc2f5a0ace6a15ee3\""))
+ ))
+ (add-before 'configure 'remove-unittests-target-post-build-command
+ (lambda _
+ ;; To skip a few problematic tests, CTest will be manually
+ ;; invoked in the post-check phase.
+ (with-directory-excursion "Source/UnitTests"
+ (substitute* "CMakeLists.txt"
+ (("add_custom_command\\(TARGET unittests POST_BUILD.*")
+ "")))))
+ (add-before 'configure 'generate-fonts&hardcore-libvulkan-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((fontfile
+ (search-input-file inputs
+ "/share/fonts/truetype/wqy-microhei.ttc"))
+ (libvulkan
+ (search-input-file inputs "/lib/libvulkan.so")))
+ (chdir "docs")
+ (invoke "bash" "-c" "g++ -O2 $(freetype-config \
+ --cflags --libs) gc-font-tool.cpp -o gc-font-tool")
+ (invoke "./gc-font-tool" "a" fontfile "font_western.bin")
+ (invoke "./gc-font-tool" "s" fontfile "font_japanese.bin")
+ (copy-file "font_japanese.bin" "../Data/Sys/GC/font_japanese.bin")
+ (copy-file "font_western.bin" "../Data/Sys/GC/font_western.bin")
+ (chdir "..")
+ (substitute* "Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp"
+ (("\"vulkan\", 1") (string-append "\"vulkan\""))
+ (("\"vulkan\"") (string-append "\"" libvulkan "\""))
+ (("Common::DynamicLibrary::GetVersionedFilename") "")))))
+ (add-after 'check 'post-check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "Source/UnitTests"
+ (invoke "ctest" "-V" "--output-on-failure"
+ ;; These tests fail due to libusb failing to
+ ;; init inside the build container.
+ "-E" (string-join
+ '("MMIOTest"
+ "PageFaultTest"
+ "CoreTimingTest"
+ "FileSystemTest"
+ "PowerPCTest"
+ "VertexLoaderTest")
+ "|"))))))
+ (add-before 'install 'build-codeloader.bin
+ (lambda _
+ (with-directory-excursion "../source/docs"
+ ;; The following command-line is adapted from the example in
+ ;; codehandler.s.
+ (invoke "powerpc-linux-gnu-gcc" "-mpowerpc" "-mbig"
+ "codehandler.s" "-nostartfiles" "-nodefaultlibs"
+ "-nostdlib" "-T" "codehandler.ld"
+ "-o" "codehandler.bin")
+ (copy-file "codehandler.bin" "../Data/Sys/codehandler.bin"))))
+ (add-before 'install 'build-dsp_rom.bin
+ (lambda _
+ ;; Ensure dsptool is on PATH.
+ (setenv "PATH" (string-append (getenv "PATH") ":"
+ (getcwd) "/Binaries"))
+ (with-directory-excursion "../source"
+ (invoke "dsptool" "-o" "Data/Sys/GC/dsp_rom.bin"
+ "docs/DSP/free_dsp_rom/dsp_rom.ds"))))
+ (add-before 'install 'build-dsp_coefs.bin
+ (lambda _
+ (with-directory-excursion "../source"
+ (invoke "python3" "docs/DSP/free_dsp_rom/generate_coefs.py")
+ (rename-file "dsp_coef.bin" "Data/Sys/GC/dsp_coef.bin")))))
+ ;; The FindGTK2 cmake script only checks hardcoded directories for
+ ;; glib/gtk headers. Also add some include directories via the CXX
+ ;; flags to let GCC find some headers not actively searched by the
+ ;; build system.
+ #:configure-flags
+ #~(list (string-append "-DCMAKE_CXX_FLAGS="
+ "-I" (search-input-directory
+ %build-inputs "include/soundtouch"))
+ "-DDSPTOOL=ON"
+ (string-append "-DX11_INCLUDE_DIR="
+ #$(this-package-input "libx11")
+ "/include")
+ (string-append "-DOLPHIN_WC_DESCRIBE=2503")
+ (string-append "-DOLPHIN_WC_REVISION=9763c0a1e2b9db0c3861d25bc2f5a0ace6a15ee3")
+ (string-append "-DOLPHIN_WC_BRANCH=HEAD")
+ (string-append "-DCMAKE_BUILD_TYPE=Release")
+ (string-append "-DX11_LIBRARIES="
+ (search-input-file %build-inputs
+ "lib/libX11.so"))
+ "-DX11_FOUND=1")
+ #:test-target "unittests"))
+
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dolphin-emu/dolphin")
+ (recursive? #t)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yyl91sb8w422zfdml9hmwwn3088gxv977aailc0l5icaxf4m8m2"))
+ (modules '((guix build utils)
+ (ice-9 regex)))
+ (snippet
+ '(begin
+ ;; Remove external stuff we don't need.
+ (for-each (lambda (dir)
+ (delete-file-recursively
+ (string-append "Externals/" dir)))
+ '(
+ ;"LZO" "OpenAL" "Qt" "SFML" "bzip2"
+ "LZO" "OpenAL" "Qt" "bzip2"
+ ;; XXX: Attempting to use the vulkan-headers package
+ ;; results in "error:
+ ;; ‘VK_PRESENT_MODE_RANGE_SIZE_KHR’ was not declared
+ ;; in this scope".
+ ;;"Vulkan"
+ "cubeb" "curl" "enet"
+ ;"ffmpeg" "fmt" "gettext"
+ "fmt" "gettext"
+ ;; XXX: Attempting to use an unbundled glslang at the
+ ;; exact commit used by Dolphin still results in
+ ;; "error: ‘DefaultTBuiltInResource’ is not a member
+ ;; of ‘glslang’".
+ ;;"glslang"
+ ;; XXX: Googletest cannot currently easily be
+ ;; unbundled, as there are missing linking
+ ;; directives.
+ ;;"gtest"
+ ;"hidapi" "libpng" "libusb" "mbedtls"
+ "hidapi" "libusb" "mbedtls"
+ ;"miniupnpc" "minizip" "MoltenVK" "pugixml"
+ "miniupnpc" "MoltenVK" "pugixml"
+ ;"soundtouch"
+ ;"xxhash" "zlib" "zstd"
+ "xxhash" "zstd"
+ ))
+ ;; Clean up the source.
+ (for-each delete-file
+ (find-files
+ "."
+ (lambda (file _)
+ (and (string-match "\\.(bin|dsy|exe|jar|rar)$" file)
+ ;; Preserve the important wc24 .bin
+ ;; configuration *data* files.
+ (not (member (basename file)
+ '("misc.bin"
+ "nwc24dl.bin"
+ "nwc24fl.bin"
+ "nwc24fls.bin")))))))
+ ;; Do not attempt to include now-missing directories.
+ (substitute* "CMakeLists.txt"
+ ((".*add_subdirectory.*Externals/enet.*") "")
+ ((".*add_subdirectory.*Externals/soundtouch.*") "")
+ ((".*add_subdirectory.*Externals/xxhash.*") ""))))
+ ;(patches (search-patches "dolphin-emu-data.patch")
+ ))))
+
+(define-public sdl2-2.30.9
+ (package
+ (inherit sdl2)
+ (name "sdl2-2.30.9")
+ (version "2.30.9")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://libsdl.org/release/SDL2-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "197bdcfnnsd4k7q91y518kari0p3rcqbdfq40zsn79w73kvp9d94"))))
+ ))
+
+(define-public enet-1.3.18
+ (package
+ (inherit enet)
+ (name "enet-1.3.18")
+ (version "1.3.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://enet.bespin.org/download/"
+ "enet-" version ".tar.gz"))
+ (sha256
+ (base32 "0djxz2j8248bsvbrs42vr39fhxlrqr3lqbhzs7yb92ync19hr2ia"))))
+ ))
+
+(define-public sfml-3
+ (package
+ (inherit sfml)
+ (name "sfml-3")
+ (version "3.0.0")
+ (inputs (modify-inputs (package-inputs sfml)
+ (prepend libxcursor libxi miniaudio)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SFML/SFML")
+ (recursive? #t)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y37cmpp490gcibajigxsbjc6icggqv40jrhzj2kwygpc0ppzb3v"))
+ (modules '((guix build utils)))
+ ;(snippet
+ ; '(begin
+ ; ;; Ensure system libraries are used.
+ ; (delete-file-recursively "extlibs")
+ ; #t))
+ ))
+ ))
+
+(define-public miniaudio
+ (package
+ (name "miniaudio")
+ (version "0.11.22")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mackron/miniaudio")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pjaiq71x24n9983vkhjxrsbraa24053h727db22b1rb2xyfrzm3"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (let ((out #$output))
+ ;; Ensure the output directory exists
+ (mkdir-p (string-append out "/lib"))
+ ;; Copy the static libraries to the output directory
+ (for-each (lambda (file)
+ (copy-file file (string-append out "/lib/" file))) ; Ensure the destination is a file
+ '("libminiaudio.a"
+ "libminiaudio_channel_combiner_node.a"
+ "libminiaudio_channel_separator_node.a"
+ "libminiaudio_ltrim_node.a"
+ "libminiaudio_reverb_node.a"
+ "libminiaudio_vocoder_node.a"))))))))
+ (synopsis "Audio playback and capture library written in C, in a single source file.")
+ (description "miniaudio is written in C with no dependencies except the standard library and should compile clean on all major compilers without the need to install any additional development packages. All major desktop and mobile platforms are supported.")
+ (home-page "https://miniaud.io/")
+ (license license:expat)))
+
+(define-public openbox-patched
+ (package
+ (inherit openbox)
+ (name "openbox-patched")
+ (version "3.6.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://openbox.org/dist/openbox/" name "-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0vg2y1qddsdxkjv806mzpvmkgzliab8ll4s7zm7ma5jnriamirxb"))
+ (patches (search-patches "aux-files/openbox/openbox-add-fix-for-glib2-exposed-segfault.patch" "aux-files/openbox/openbox-python3.patch"))))
+ ))
+
diff --git a/bugwarrior.scm b/bugwarrior.scm
index e192602..bb1c827 100644
--- a/bugwarrior.scm
+++ b/bugwarrior.scm
@@ -1,9 +1,11 @@
(define-module (bugwarrior)
+ #:use-module ((guix licenses) :prefix license:)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages glib)
#:use-module (gnu packages python)
+ #:use-module (gnu packages openstack)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
@@ -21,10 +23,39 @@
#:use-module (guix licenses)
#:use-module (guix packages)
)
+
+(define-public python-dogpile.cache
+ (package
+ (name "python-dogpile.cache")
+ (version "1.1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dogpile.cache" version))
+ (sha256
+ (base32
+ "0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (native-inputs (list python-mako python-pytest))
+ (propagated-inputs (list python-decorator python-stevedore))
+ (home-page "https://github.com/sqlalchemy/dogpile.cache")
+ (synopsis "Caching front-end based on the Dogpile lock")
+ (description "@code{dogpile.cache} is a caching API which provides a
+generic interface to caching backends of any variety, and additionally
+provides API hooks which integrate these cache backends with the locking
+mechanism of @code{dogpile}.")
+ (license license:expat)))
+
(define-public python-bugwarrior
(package
(name "python-bugwarrior")
- (version "71efc97435a442646782dcb0979df43f69ce955d")
+ (version "ce92e3a4f05f5d78e13d2924c27d8743813fb2f9")
(source
(origin
(method git-fetch)
@@ -32,7 +63,7 @@
(url "https://github.com/GothenburgBitFactory/bugwarrior.git")
(commit version)))
(sha256
- (base32 "0d22av15dyan6yzhqxx01sf45i2fnk1i92wyh9hahfhmv3gawnj1"))
+ (base32 "0v96zg2ga8cw84zx12dvh3m995adf5k40x9cs53waxranxvm4k0a"))
(modules '((guix build utils)))
(patches
(search-patches "aux-files/python-bugwarrior/gitea-support.patch"))
@@ -57,26 +88,29 @@
python-tomli
python-pygobject
python-notify2
- python-pydantic-2.7.1
+ python-pydantic-2
+ python-google-api-client
+ python-google-auth-oauthlib
))
(native-inputs (list python-email-validator-2.1.1))
(home-page "http://github.com/ralphbean/bugwarrior")
(synopsis "Sync github, bitbucket, and trac issues with taskwarrior")
(description "Sync github, bitbucket, and trac issues with taskwarrior")
- (license #f)))
+ (license license:gpl3)))
(define-public python-email-validator-2.1.1
(package
(name "python-email-validator")
- (version "2.1.1")
+ (version "2.1.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "email_validator" version))
(sha256
- (base32 "112bhbxkwls2v0j5k6ir6iv6h3fc0n975vqydnz092d01dl702i0"))))
+ (base32 "0k7hm433xm9syxfq486zflxf7fqiljgv688480vxmgn48g9z7h0l"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-dnspython python-idna))
+ (native-inputs (list python-setuptools python-wheel))
(arguments
'( #:phases
(modify-phases %standard-phases
@@ -88,16 +122,7 @@
(description
"This package provides a robust email address syntax and deliverability
validation library.")
- (license #f)))
-
- (define-public python-pydantic-2.7.1
- (package
- (inherit python-pydantic)
- (name "python-email-validator")
- (inputs (modify-inputs (package-inputs python-pydantic)
- (prepend python-email-validator-2.1.1)))
- (version "2.1.1")
- ))
+ (license license:unlicense)))
(define-public python-taskw
(package
@@ -110,10 +135,14 @@
(sha256
(base32 "1pcbai69la53fjn2ahmni18zcgrhg34058q7a0mb7ag7ppwvs28i"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-kitchen python-dateutil python-pytz))
- (native-inputs (list python-pytest taskwarrior))
+ (propagated-inputs (list python-kitchen python-dateutil python-pytz taskwarrior python-setuptools python-wheel python-pytest))
+ (arguments
+ '( #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;Networking required for checks, so disable them
+ )))
(home-page "http://github.com/ralphbean/taskw")
(synopsis "Python bindings for your taskwarrior database")
(description "Python bindings for your taskwarrior database")
- (license #f)))
+ (license license:gpl3)))
diff --git a/machinelearning.scm b/machinelearning.scm
index 02975e7..9182ebc 100644
--- a/machinelearning.scm
+++ b/machinelearning.scm
@@ -1,27 +1,53 @@
(define-module (machinelearning)
- #:use-module (gnu packages protobuf)
+ #:use-module ((guix licenses) :prefix license:)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages check)
+ #:use-module (gnu packages wxwidgets)
+ #:use-module (gnu packages commencement)
+ #:use-module (gnu packages crates-io)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-maths)
+ #:use-module (gnu packages golang-compression)
+ #:use-module (gnu packages golang-crypto)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages prometheus)
+ #:use-module (gnu packages golang-web)
+ #:use-module (gnu packages golang-xyz)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages llvm)
+ #:use-module (gnu packages machine-learning)
+ #:use-module (gnu packages maths)
+ #:use-module (gnu packages opencl)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
- #:use-module (gnu packages python-check)
#:use-module (gnu packages python-build)
- #:use-module (gnu packages python-xyz)
- #:use-module (gnu packages python-web)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
- #:use-module (gnu packages machine-learning)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages curl)
#:use-module (gnu packages rust)
- #:use-module (gnu packages maths)
#:use-module (gnu packages rust-apps)
- #:use-module (gnu packages crates-io)
- #:use-module (guix build-system python)
- #:use-module (guix build-system pyproject)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages)
+ #:use-module (guix build utils)
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
- #:use-module (guix build utils)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
+ #:use-module (guix build-system pyproject)
+ #:use-module (guix build-system python)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
- #:use-module (guix gexp)
- #:use-module (guix download)
- #:use-module ((guix licenses) :prefix license:)
+ #:use-module (guix utils)
)
(define-public poetry-plugin-export
@@ -79,294 +105,207 @@
(description
"This package provides a library for installing Python wheels.")
(license #f)))
-
-(define-public python-rclip
+(define-public ggml
(package
- (name "rclip")
- (version "1.10.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "rclip" version))
- (sha256
- (base32 "05cv5hp63x6ym12s1a5lb7najjyzrqk40rvmj8x2y32hxsf6ampn"))))
- (build-system pyproject-build-system)
- (native-inputs (list python-poetry-core-1.9.0))
- (propagated-inputs (list python-open-clip-torch
- python-pillow
- python-requests
- python-pytorch
- python-torchvision
- python-tqdm))
- (arguments
- '( #:phases
- (modify-phases %standard-phases
- (delete 'check) ;#TODO: see why this is broke
- (delete 'sanity-check) ;TODO: Fix broken sanity-check
- )))
- (home-page "https://github.com/yurijmikhalevich/rclip")
- (synopsis "AI-Powered Command-Line Photo Search Tool")
- (description "AI-Powered Command-Line Photo Search Tool")
- (license license:expat)))
-
-(define-public python-open-clip-torch
- (package
- (name "python-open-clip-torch")
- (version "2.24.0")
+ (name "ggml")
+ (version "589fed13a77d7e54435c2182384955706b60b841")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mlfoundations/open_clip")
- (commit (string-append "v" version))
- ))
+ (url "https://github.com/ggerganov/ggml")
+ (recursive? #t)
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0mby632z2qpahb8pd8cmn14bz4w1q0cngz7s6rmx2qwfg2fxf1ms"))))
- (build-system pyproject-build-system)
- (inputs (list python-ftfy
- python-huggingface-hub
- python-protobuf
- python-regex
- python-sentencepiece
- python-timm
- python-pytorch
- python-torchvision
- python-tqdm
- python-wheel
- ))
+ (base32
+ "1qzydmiqsdxhj7gmaxbzllhhnb7rw49ykkj03jm044spk9nnn56s"))))
+ (build-system cmake-build-system)
+ (inputs (list openblas))
(arguments
- '( #:phases
- (modify-phases %standard-phases
- (delete 'check) ;Networking required for checks, so disable them
- (delete 'sanity-check) ;TODO: Fix broken sanity-check
- )))
- (home-page "https://github.com/mlfoundations/open_clip")
- (synopsis "OpenCLIP")
- (description "@code{OpenCLIP}")
+ '(
+ #:tests? #f
+ ;#:cmake "--config Release"
+ #:configure-flags (list "-DGGML_OPENBLAS=ON -DGGML_BUILD_TESTS=OFF -DGGML_BUILD_EXAMPLES=OFF --config Release")
+ ))
+ (home-page "https://github.com/ggerganov/ggml/")
+ (synopsis "Tensor library for machine learning")
+ (description "Tensor library for machine learning in pure C/C++")
(license license:expat)))
-(define-public python-ftfy
- (package
- (name "python-ftfy")
- ;(version "6.2.0")
- (version "5.5.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "ftfy" version))
- (sha256
- ;(base32 "1h3m9i1c2qp874fpg62gcp39yqdhc5mrsqd29ja9gvr5f0y18hjy"))))
- (base32 "1ci6xrj4g01a97nymxpv9nj820nlmgzc4ybaz9k46i6bnxzpax7s"))))
- (build-system pyproject-build-system)
- (native-inputs (list poetry))
- (propagated-inputs (list python-wcwidth))
- (arguments
- '( #:phases
- (modify-phases %standard-phases
- (delete 'check)
- )))
- (home-page "")
- (synopsis "Fixes mojibake and other problems with Unicode, after the fact")
- (description
- "Fixes mojibake and other problems with Unicode, after the fact")
- (license license:asl2.0)))
-
-(define-public python-expecttest
+(define-public ggml-vulkan
(package
- (name "python-expecttest")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "expecttest" version))
- (sha256
- (base32 "1xbkpcp3477ccgr4ks16v0j22i7a939bs2rajvk0cigqlvw1qaz5"))))
- (build-system pyproject-build-system)
+ (inherit ggml)
+ (name "ggml-vulkan")
+ (build-system cmake-build-system)
+ (inputs (list shaderc vulkan-headers vulkan-loader openlibm glibc))
(arguments
- (list
- #:phases #~(modify-phases %standard-phases (delete 'check))))
- (native-inputs (list poetry))
- (home-page "https://github.com/ezyang/expecttest")
- (synopsis "")
- (description "")
+ '(
+ #:tests? #f
+ ;#:cmake "--config Release"
+ #:configure-flags (list "-DGGML_VULKAN=ON -DGGML_BUILD_TESTS=OFF -DGGML_BUILD_EXAMPLES=OFF --config Release")
+ ))
+ (home-page "https://github.com/ggerganov/ggml/")
+ (synopsis "Tensor library for machine learning")
+ (description "Tensor library for machine learning in pure C/C++")
(license license:expat)))
-(define-public python-timm
+(define-public mlimgsynth
(package
- (name "python-timm")
- (version "0.9.16")
+ (name "mlimgsynth")
+ (version "fd351102a0c6719fe4437cb1bb834a87735861a1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "timm" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aagdev/mlimgsynth")
+ (recursive? #t)
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1rkif1mkgryirn78aw9rkwplf3hzfqbw3c0slwqxynnmfprm87l9"))))
- (build-system pyproject-build-system)
+ (base32
+ "1gbppz9r0mjdis6gcvpkx3f4v0px7zz05k0cxkjq9s4v63xzr1p3"))))
+ (build-system gnu-build-system)
+ (inputs (list openblas ggml-vulkan libpng ijg-libjpeg))
(arguments
- (list
+ '(
+ #:tests? #f
+ #:make-flags (let* ((ggml-dir (assoc-ref %build-inputs "ggml-vulkan")))
+ (list (string-append "CC=gcc")
+ (string-append "GGML_INCLUDE_PATH=" ggml-dir "/include")
+ (string-append "GGML_LIB_PATH=" ggml-dir "/lib")))
#:phases
- #~(modify-phases %standard-phases
- (delete 'check) ;takes FOREVER for some reason
- (delete 'sanity-check ;Crashes; #TODO: fix this
- ))))
- (inputs (list python-huggingface-hub python-pyyaml
- python-safetensors python-pytorch
- python-torchvision python-pdm-backend
+ (modify-phases %standard-phases
+ (delete 'check)
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "mlimgsynth" (string-append out "/bin")))))
+ )
- python-pytest python-pytest-timeout python-expecttest python-pytest-xdist))
- (home-page "https://github.com/huggingface/pytorch-image-models")
- (synopsis "PyTorch Image Models")
- (description "@code{PyTorch} Image Models")
- (license license:asl2.0)))
+ )
+ )
+ (home-page "https://github.com/aagdev/mlimgsynth")
+ (synopsis " Image synthesis using machine learning")
+ (description "Generate images using Stable Diffusion (SD) models. This program is completely written in C and uses the GGML library. It is largely based in stable-diffusion.cpp, but with a focus in more concise and clear code.")
+ (license license:expat)))
-(define-public rust-memmap2-0.5
+(define-public stable-diffusion-cpp
(package
- (name "rust-memmap2")
- (version "0.5.0")
+ (name "stable-diffusion-cpp")
+ (version "10c6501bd05a697e014f1bee3a84e5664290c489")
(source
(origin
- (method url-fetch)
- (uri (crate-uri "memmap2" version))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/leejet/stable-diffusion.cpp.git")
+ (recursive? #t)
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0vp9pxd20gyq8196v73chxdw6gfxz3g4lkdkvffd5slgawds2is6"))))
- (build-system cargo-build-system)
+ (base32
+ "0cd04iv0yfsc35l7z1kig6vm53b6c1v3mhyh7azrncy6afx2wwpi"))))
+ (build-system cmake-build-system)
+ (inputs (list openblas git-minimal ))
(arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
- #:cargo-development-inputs (("rust-owning-ref" ,rust-owning-ref-0.4)
- ("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://github.com/RazrFalcon/memmap2-rs")
- (synopsis "Cross-platform Rust API for memory-mapped file IO")
- (description "Cross-platform Rust API for memory-mapped file IO")
- (license (list license:expat license:asl2.0))))
+ '(
+ #:tests? #f
+ ;#:cmake "--config Release"
+ ;#:configure-flags (list "-DSD_CUBLAS=ON -DGGML_OPENBLAS=ON --config Release")
+ #:configure-flags (list "-DGGML_OPENBLAS=ON -DSD_FLASH_ATTN=ON --config Release")
+ )
+ )
+ (home-page "https://github.com/leejet/stable-diffusion.cpp")
+ (synopsis "Inference of Stable Diffusion in pure C/C++")
+ (description "Inference of Stable Diffusion in pure C/C++")
+ (license license:expat)))
-(define-public rust-safetensors-0.4
+(define-public stable-diffusion-cpp-vulkan
(package
- (name "rust-safetensors")
- (version "0.4.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "safetensors" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1vb9wsmsm7wfyvkl795wpc2iiwa3mx0vqhhym2q6yhrlzdmhx64d"))))
- (build-system cargo-build-system)
+ (inherit stable-diffusion-cpp)
+ (name "stable-diffusion-cpp-vulkan")
(arguments
- `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1))
- #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
- ("rust-memmap2" ,rust-memmap2-0.5)
- ("rust-proptest" ,rust-proptest-1))))
- (home-page "https://github.com/huggingface/safetensors")
- (synopsis
- "Provides functions to read and write safetensors which aim to be safer than
- their PyTorch counterpart.
- The format is 8 bytes which is an unsized int, being the size of a JSON header,
- the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets
- for the values in the rest of the file.
- ")
- (description
- "This package provides functions to read and write safetensors which aim to be
- safer than their @code{PyTorch} counterpart. The format is 8 bytes which is an
- unsized int, being the size of a JSON header, the JSON header refers the `dtype`
- the `shape` and `data_offsets` which are the offsets for the values in the rest
- of the file.")
- (license license:asl2.0)))
+ `(
+ #:tests? #f
+ #:configure-flags (list "-DSD_VULKAN=ON --config Release")
+ #:phases (modify-phases %standard-phases
+ (add-after 'install 'rename-binary
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin/sd")))
+ (when (file-exists? bin)
+ (rename-file bin (string-append (dirname bin) "/sd-vulkan")))))))))
+ (inputs (list vulkan-headers vulkan-loader shaderc libomp git-minimal))
+ ))
-(define-public python-safetensors
+(define-public exiv2-staticlibs
(package
- (name "python-safetensors")
- (version "0.4.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/huggingface/safetensors.git")
- (commit (string-append "v" version))
- ))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1gs0ivd5m95jyy6j1yqvm8pq068xsk405gv0nwq2821vr4ix9lw5"))))
- (build-system cargo-build-system)
+ (inherit exiv2)
(arguments
- (list
- #:imported-modules `(,@%cargo-build-system-modules
- ,@%pyproject-build-system-modules)
- #:modules '((guix build cargo-build-system)
- ((guix build pyproject-build-system) #:prefix py:)
- (guix build utils))
+ `(#:test-target "tests"
+ #:configure-flags (list "-DEXIV2_BUILD_UNIT_TESTS=ON"
+ ;; darktable needs BMFF to support
+ ;; CR3 files.
+ "-DEXIV2_ENABLE_BMFF=ON")
#:phases
- #~(modify-phases %standard-phases
- (add-before 'configure 'get-safetensor-cargo
- (lambda _
- (copy-recursively "bindings/python/Cargo.toml" "./Cargo.toml")
- (substitute* "./Cargo.toml" ( ("name = \"safetensors_rust\"") "name = \"safetensors_rust\"\npath = \"bindings/python//src/lib.rs\"" ) )
- (substitute* "./Cargo.toml" ( ("path = \"../../safetensors\"") "path = \"safetensors\"" ) )
- ))
- (add-after 'prepare-python-module 'build-python-module
- (assoc-ref py:%standard-phases 'build))
- (add-after 'build-python-module 'install-python-module
- (assoc-ref py:%standard-phases 'install))
- (add-after 'compress-documentation 'remove-bloat
- (lambda _
- (delete-file-recursively "target")
- (delete-file-recursively "attacks")
- (delete-file-recursively "safetensors")
- ))
- )
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-gcc-reference
+ (lambda _
+ ;; _GLIBCXX_ASSERTIONS brings reference to GCC.
+ (substitute* "cmake/compilerFlags.cmake"
+ (("add_compile_options[(]-Wp,-D_GLIBCXX_ASSERTIONS[)]")
+ ""))))
- #:cargo-inputs
- `(
- ;("rust-safetensors" ,rust-safetensors-0.4)
- ("rust-pyo3" ,rust-pyo3-0.20)
- ("rust-criterion" ,rust-criterion-0.5)
- ("rust-memmap2" ,rust-memmap2-0.5)
- ("rust-proptest" ,rust-proptest-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- )
- #:install-source? #false))
- (inputs
- (list maturin rust-safetensors-0.4 python-wheel))
- (native-inputs
- (list python-wrapper))
- (home-page "https://github.com/huggingface/safetensors")
- (synopsis "a new simple format for storing tensors safely")
- (description "This repository implements a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).")
- (license license:asl2.0)))
+ ,@(if (or (target-ppc64le?)
+ (target-aarch64?)
+ (target-riscv64?))
+ '((add-after 'unpack 'adjust-tests
+ (lambda _
+ ;; Adjust test on ppc64 and aarch64, where no exception
+ ;; is raised and thus the return value is different. See
+ ;; <https://github.com/Exiv2/exiv2/issues/365> and
+ ;; <https://github.com/Exiv2/exiv2/issues/933>.
+ (substitute* "tests/bugfixes/github/test_CVE_2018_12265.py"
+ (("\\$uncaught_exception \\$addition_overflow_message\n") "")
+ (("retval = \\[1\\]") "retval = [0]")))))
+ '()))))
+ ))
-(define-public stable-diffusion-cpp
+(define-public stable-diffusion-cpp-gui-wx
(package
- (name "stable-diffusion-cpp")
- (version "9c51d8787f78ef1bd0ead1e8f48b766d7ee7484d")
+ (name "stable-diffusion-cpp-gui-wx")
+ (version "6f604f836961002fbce72a205c1e6cc6d6a531e9")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/leejet/stable-diffusion.cpp.git")
+ (url "https://github.com/fszontagh/sd.cpp.gui.wx")
(recursive? #t)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "0rcnlrsbhnfhfz2pzn8gxnnpdyz03z8ds0wq5xfbgc86hmg0v286"))))
+ "035zqhjnwdb07ag4chj9zijl70wk81kinqwlnvs9ixb2fzl1z374"))))
(build-system cmake-build-system)
- (inputs (list openblas))
(arguments
'(
#:tests? #f
- ;#:cmake "--config Release"
- ;#:configure-flags (list "-DSD_CUBLAS=ON -DGGML_OPENBLAS=ON --config Release")
- #:configure-flags (list "-DGGML_OPENBLAS=ON -DSD_FLASH_ATTN=ON --config Release")
+ #:configure-flags
+ (list
+ "-DSD_AVX=ON"
+ "-DWXWIDGETS_VERSION=3.2.5"
+ (string-append "-DWXWIDGETS_EXTRA_PATH=" (assoc-ref %build-inputs "wxwidgets"))
+ )
+ #:substitutable? #f
)
)
- (home-page "https://github.com/leejet/stable-diffusion.cpp")
- (synopsis "Inference of Stable Diffusion in pure C/C++")
- (description "Inference of Stable Diffusion in pure C/C++")
- (license license:expat)))
+ (native-inputs (list pkg-config))
+ (inputs (list openblas openssl curl exiv2-staticlibs wxwidgets gtk+ pangomm git stable-diffusion-cpp))
+ (synopsis "cross-platform GUI for Stable Diffusion C++")
+ (description "A cross-platform GUI for Stable Diffusion C++, built using wxWidgets.")
+ (home-page "https://stable-diffusion.fsociety.hu")
+ (license license:expat)
+ ))
(define-public bark-cpp
(package
@@ -389,17 +328,24 @@
'(
#:tests? #f
#:configure-flags (list "-DGGML_OPENBLAS=ON --config Release")
- ;#:phases
- ;(modify-phases %standard-phases
- ; (add-after 'install 'install-main
- ; (lambda _
- ; (with-directory-excursion (string-append #$output "/bin")
- ; ;(symlink "main" "bark")
- ; (symlink "server" "bark-server")
- ; )
- ; )))
- )
- )
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-server
+ (lambda _
+ (with-directory-excursion (string-append #$output "/bin")
+ (symlink "server" "bark-server")
+ )
+ ))
+ ;(add-after 'install 'install-main
+ ; (lambda _
+ ; (with-directory-excursion (string-append #$output "/bin")
+ ; (symlink "main" "bark")
+ ; )
+ ; ))
+ ;
+ )
+
+ ))
(home-page "https://github.com/PABannier/bark.cpp")
(synopsis "Real-time realistic multilingual text-to-speech generation to the community.")
(description "With bark.cpp, our goal is to bring real-time realistic multilingual text-to-speech generation to the community.")
@@ -408,7 +354,7 @@
(define-public clip-cpp
(package
(name "clip-cpp")
- (version "f4ee24bb86680a27f83c8e8c70adbcf4cb776615")
+ (version "348b283cb6c2fc2bde450cc08a05a789dbe109e4")
(source
(origin
(method git-fetch)
@@ -419,7 +365,7 @@
(file-name (git-file-name name version))
(sha256
(base32
- "0wybslxzygs1bwdmiy9la0fzids112iiajb3ca6sjkhjp7nwakky"))))
+ "0xyjnzk8wgx77ip6k9969ljckxmaf165ypbh013hsrvgcrq9knrs"))))
(build-system cmake-build-system)
;(inputs (list openblas))
(arguments
@@ -483,3 +429,208 @@
(description "Inference of Stable Diffusion in pure C/C++")
(license license:expat)))
+(define-public clblast
+ (package
+ (name "clblast")
+ (version "1.6.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/CNugteren/CLBlast.git")
+ (commit version)
+ ))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zp8rfkscnh4l9x71kp39hsg5zxfhkkf88886mv40hw0a1hafdvz"))
+ ))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'check)
+ )
+ ))
+ (inputs (list opencl-clhpp opencl-icd-loader))
+ (home-page "https://cnugteren.github.io/clblast")
+ (synopsis "Tuned OpenCL BLAS")
+ (description "CLBlast is a lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines: basic linear algebra subprograms operating on vectors and matrices. See the CLBlast website for performance reports on some devices.")
+ (license license:asl2.0)))
+
+(define-public kobold-cpp
+ (package
+ (name "kobold-cpp")
+ (version "1.76")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LostRuins/koboldcpp.git")
+ (commit (string-append "v" version))
+ ))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "155207vyxl2gh156gf0zs6ylkixrgr563cdfzkapcdhzj9lpsdfk"))
+ ))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags
+ #~(list
+ "LLAMA_OPENBLAS=1"
+ "LLAMA_CLBLAST=1"
+ "LLAMA_VULKAN=1"
+ (string-append "CC=" #$(cc-for-target))
+ )
+ #:modules '((ice-9 textual-ports)
+ (guix build utils)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build gnu-build-system))
+ #:imported-modules `(,@%default-gnu-imported-modules
+ (guix build python-build-system))
+
+
+ #:phases
+ #~(modify-phases %standard-phases
+ ;(add-after 'unpack 'disable-unrunable-tests
+ ; ;; test-eval-callback downloads ML model from network, cannot
+ ; ;; run in Guix build environment
+ ; (lambda _
+ ; (substitute* '("examples/eval-callback/CMakeLists.txt")
+ ; (("add_test") "#add_test"))
+ ; (substitute* '("examples/eval-callback/CMakeLists.txt")
+ ; (("set_property") "#set_property"))))
+ (add-after 'build 'install-python-scripts
+ (lambda _
+ (let ((bin (string-append #$output "/bin/")))
+ (define (make-script script)
+ (let ((suffix (if (string-suffix? ".py" script) "" ".py")))
+ (call-with-input-file
+ (string-append script suffix)
+ (lambda (input)
+ (call-with-output-file (string-append bin script)
+ (lambda (output)
+ (format output "#!~a/bin/python3\n~a"
+ #$(this-package-input "python")
+ (get-string-all input))))))
+ (chmod (string-append bin script) #o555)))
+ (make-script "koboldcpp.py")
+ ;(make-script "convert-hf-to-gguf")
+ ;(make-script "convert-llama-ggml-to-gguf")
+ ;(make-script "convert-hf-to-gguf-update.py")
+ )))
+ (add-after 'build 'install-compiled
+ (lambda _
+ (mkdir-p (string-append #$output "/lib"))
+ (mkdir-p (string-append #$output "/bin"))
+ (for-each (lambda (f)
+ (install-file f (string-append #$output "/lib"))) (find-files "." "\\.so$"))
+ (for-each (lambda (f)
+ (install-file f (string-append #$output "/bin"))) (find-files "." "\\.py$"))))
+ ;(add-after 'install-compiled 'wrap-python-scripts
+ ; ;(assoc-ref python:%standard-phases 'wrap)
+ ; (add-after 'wrap-python-scripts 'wrap-for-local-libs
+ ; (lambda _
+ ; (wrap-program (string-append #$output "/bin/koboldcpp.py")
+ ; '("PATH" ":" suffix (string-append #$output "/lib/")))
+ ; )
+ ; )
+ (delete 'configure)
+ (delete 'check)
+ (delete 'install) ;Only running "make" is necssary for install.
+ )))
+ (inputs (list python))
+ (native-inputs (list pkg-config gcc-toolchain))
+ (propagated-inputs
+ (list python-numpy python-pytorch python-sentencepiece openblas clblast opencl-clhpp opencl-icd-loader vulkan-headers vulkan-loader python-gguf python-customtkinter findutils))
+ (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available
+ (home-page "https://github.com/lostruins/koboldcpp")
+ (synopsis " A simple one-file way to run various GGML and GGUF models with a KoboldAI UI.")
+ (description "KoboldCpp is an easy-to-use AI text-generation software for GGML and GGUF models, inspired by the original KoboldAI. It's a single self-contained distributable from Concedo, that builds off llama.cpp, and adds a versatile KoboldAI API endpoint, additional format support, Stable Diffusion image generation, speech-to-text, backward compatibility, as well as a fancy UI with persistent stories, editing tools, save formats, memory, world info, author's note, characters, scenarios and everything KoboldAI and KoboldAI Lite have to offer.")
+ (license license:agpl3)))
+(define-public python-gguf
+ (package
+ (name "python-gguf")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gguf" version))
+ (sha256
+ (base32 "0fyk7x6b2a7xjmf3q7zb61ik1yrk80xm7xx9yr2wa6avw63hkrzm"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '( #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;#TODO: see why this is broke
+ (delete 'sanity-check) ;TODO: Fix broken sanity-check
+ )))
+ (native-inputs (list poetry))
+ (propagated-inputs (list python-numpy python-tqdm))
+ (home-page "https://ggml.ai")
+ (synopsis "Read and write ML models in GGUF for GGML")
+ (description "Read and write ML models in GGUF for GGML.")
+ (license #f)))
+
+(define-public python-darkdetect
+ (package
+ (name "python-darkdetect")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "darkdetect" version))
+ (sha256
+ (base32 "1cgqgpz36dfn7hsqc29ha9pmxmzdjlwdq9aclkgbagi6f08qwhmm"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '( #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;#TODO: see why this is broke
+ (delete 'sanity-check) ;TODO: Fix broken sanity-check
+ )))
+ (home-page "")
+ (synopsis "Detect OS Dark Mode from Python")
+ (description "Detect OS Dark Mode from Python.")
+ (license #f)))
+
+(define-public python-customtkinter
+ (package
+ (name "python-customtkinter")
+ (version "5.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "customtkinter" version))
+ (sha256
+ (base32 "01yjv09r3cbdk09vamh7cdc5iqn2nj0bl383wqp9h74nzaxb73gx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '( #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;#TODO: see why this is broke
+ (delete 'sanity-check) ;TODO: Fix broken sanity-check
+ )))
+ (propagated-inputs (list python-darkdetect python-packaging
+ python-typing-extensions))
+ (home-page "https://customtkinter.tomschimansky.com")
+ (synopsis "Create modern looking GUIs with Python")
+ (description "Create modern looking GUIs with Python.")
+ (license #f)))
+(define-public python-rubbrband
+ (package
+ (name "python-rubbrband")
+ (version "0.2.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rubbrband" version))
+ (sha256
+ (base32 "1sv7y2wvnmb0mabdbzwg0q6cf9mjkrik68dnbl3qa0slf8z7biy7"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-pillow python-requests))
+ (home-page "https://github.com/rubbrband/rubbrband")
+ (synopsis "")
+ (description #f)
+ (license #f)))
diff --git a/messaging.scm b/messaging.scm
new file mode 100644
index 0000000..722ba79
--- /dev/null
+++ b/messaging.scm
@@ -0,0 +1,322 @@
+(define-module (messaging)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages admin)
+ #:use-module (gnu packages aidc)
+ #:use-module (gnu packages aspell)
+ #:use-module (gnu packages audio)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages avahi)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages boost)
+ #:use-module (gnu packages certs)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages code)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages cpp)
+ #:use-module (gnu packages crypto)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages cyrus-sasl)
+ #:use-module (gnu packages databases)
+ #:use-module (gnu packages docbook)
+ #:use-module (gnu packages documentation)
+ #:use-module (gnu packages enchant)
+ #:use-module (gnu packages erlang)
+ #:use-module (gnu packages erlang-xyz)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-compression)
+ #:use-module (gnu packages golang-crypto)
+ #:use-module (gnu packages golang-web)
+ #:use-module (gnu packages golang-xyz)
+ #:use-module (gnu packages gperf)
+ #:use-module (gnu packages graphviz)
+ #:use-module (gnu packages gstreamer)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages guile)
+ #:use-module (gnu packages hunspell)
+ #:use-module (gnu packages icu4c)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages kde)
+ #:use-module (gnu packages kde-frameworks)
+ #:use-module (gnu packages kerberos)
+ #:use-module (gnu packages less)
+ #:use-module (gnu packages libcanberra)
+ #:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
+ #:use-module (gnu packages libidn)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages logging)
+ #:use-module (gnu packages lua)
+ #:use-module (gnu packages man)
+ #:use-module (gnu packages markup)
+ #:use-module (gnu packages matrix)
+ #:use-module (gnu packages messaging)
+ #:use-module (gnu packages mpd)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages networking)
+ #:use-module (gnu packages nss)
+ #:use-module (gnu packages password-utils)
+ #:use-module (gnu packages pcre)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages photo)
+ #:use-module (gnu packages php)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
+ #:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
+ #:use-module (gnu packages regex)
+ #:use-module (gnu packages ruby)
+ #:use-module (gnu packages sphinx)
+ #:use-module (gnu packages sqlite)
+ #:use-module (gnu packages tcl)
+ #:use-module (gnu packages telephony)
+ #:use-module (gnu packages texinfo)
+ #:use-module (gnu packages textutils)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)
+ #:use-module (gnu packages)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix build-system copy)
+ #:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
+ #:use-module (guix build-system meson)
+ #:use-module (guix build-system perl)
+ #:use-module (guix build-system pyproject)
+ #:use-module (guix build-system python)
+ #:use-module (guix build-system qt)
+ #:use-module (guix build-system rebar)
+ #:use-module (guix build-system trivial)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module (guix hg-download)
+ #:use-module (guix packages)
+ #:use-module (guix utils))
+
+(define-public psi-plus-webengine
+ (package
+ (inherit psi-plus)
+ (name "psi-plus-webengine")
+
+ (arguments
+ `(#:tests? #f ; No target
+ #:imported-modules
+ (,@%qt-build-system-modules
+ (guix build glib-or-gtk-build-system))
+ #:modules
+ ((guix build qt-build-system)
+ ((guix build glib-or-gtk-build-system)
+ #:prefix glib-or-gtk:)
+ (guix build utils))
+ #:configure-flags
+ (list
+ "-DBUILD_PSIMEDIA=ON" ; For A/V support
+ "-DENABLE_PLUGINS=ON"
+ "-DUSE_HUNSPELL=OFF" ; Use Enchant instead
+ "-DUSE_ENCHANT=ON"
+ "-DCHAT_TYPE=webengine"
+ "-DUSE_CCACHE=OFF") ; Not required
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/http-parser/http_parser.h")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qhttp/qhttp.pro")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qite/qite.pro")
+ "")
+ (("add_subdirectory\\( 3rdparty \\)")
+ ""))
+ (substitute* "src/CMakeLists.txt"
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qite/libqite")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/http-parser")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qhttp/src/private")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qhttp/src")
+ "")
+ (("\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty")
+ "")
+ (("add_dependencies\\(\\$\\{PROJECT_NAME\\} qhttp\\)")
+ "target_link_libraries(${PROJECT_NAME} qhttp)"))
+ (substitute* "src/src.cmake"
+ (("include\\(\\$\\{PROJECT_SOURCE_DIR\\}/3rdparty/qite/libqite/libqite.cmake\\)")
+ "list(APPEND EXTRA_LIBS qite)"))
+ (substitute* '("src/filesharingmanager.h" "src/widgets/psirichtext.cpp"
+ "src/filesharingmanager.cpp" "src/widgets/psitextview.cpp"
+ "src/chatview_te.cpp" "src/msgmle.cpp")
+ (("qite.h")
+ "qite/qite.h")
+ (("qiteaudio.h")
+ "qite/qiteaudio.h")
+ (("qiteaudiorecorder.h")
+ "qite/qiteaudiorecorder.h"))))
+ (add-after 'install 'wrap-env
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (for-each
+ (lambda (name)
+ (let ((file (string-append out "/bin/" name))
+ (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program file
+ `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
+ '("psi-plus")))))
+ (add-after 'wrap-env 'glib-or-gtk-compile-schemas
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
+ (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (inputs (modify-inputs (package-inputs psi-plus)
+ (prepend qtwebengine-5)))
+ ))
+
+(define-public discord-purple
+ (let ((commit "c5dfbe0e1fd7de1f2adbf672f653f67e39686044")
+ (revision "0"))
+ (package
+ (name "discord-purple")
+ (version (git-version "1.0" revision commit))
+ (home-page "https://github.com/EionRobb/purple-discord/")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/EionRobb/purple-discord")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07w06ack6blzi2yd5slj8ib34dw41hdw6179y8503dxvbzcb16q4"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Adjust the makefile to install files in the right place.
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("DISCORD_DEST = .*")
+ (string-append "DISCORD_DEST = " out
+ "/lib/purple-2\n"))
+ (("DISCORD_ICONS_DEST = .*")
+ (string-append "DISCORD_ICONS_DEST = "
+ out
+ "/share/pixmaps/pidgin/protocols\n"))
+ (("LOCALE_DEST = .*")
+ (string-append "LOCALE_DEST = "
+ out
+ "/share/locale/\n"))
+
+ )
+ #t))))
+ #:make-flags (list "CC=gcc"
+ ,(string-append "PLUGIN_VERSION=" version))
+ #:tests? #f))
+ (inputs
+ (list pidgin
+ libgcrypt
+ libwebp
+ glib
+ gtk+-2
+ zlib
+ json-glib
+ nss
+ qrencode
+ ))
+ (native-inputs
+ (list pkg-config
+ gettext-minimal
+ imagemagick
+ which))
+ (synopsis "Discord messaging support for Pidgin")
+ (description
+ "A libpurple/Pidgin plugin for Discord")
+ (license license:gpl3))))
+
+(define-public matrix-purple
+ (let ((commit "442003b9f16c4c4222ed36f871fcd018551fdc3f")
+ (revision "0"))
+ (package
+ (name "matrix-purple")
+ (version (git-version "1.0" revision commit))
+ (home-page "https://github.com/EionRobb/purple-matrix")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/EionRobb/purple-matrix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0b0gfvn9d82ynmnzq5vw28yrnp22qsmyp4lfaja6qr25aqdy943m"))
+ (patches
+ (search-patches "aux-files/matrix-purple/fix-g_memdup.patch"))
+ ))
+ (build-system gnu-build-system)
+(arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Adjust the makefile to install files in the right place.
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("PLUGIN_DIR_PURPLE\t= .*")
+ (string-append "PLUGIN_DIR_PURPLE\t= " out "/lib/purple-2\n"))
+ (("DATA_ROOT_DIR_PURPLE\t= .*")
+ (string-append "DATA_ROOT_DIR_PURPLE\t= " out "/lib/purple-2\n")))
+ #t))))
+
+
+ #:make-flags (list "CC=gcc"
+ ,(string-append "PLUGIN_VERSION=" version))
+ #:tests? #f))
+ (inputs
+ (list pidgin
+ libgcrypt
+ libwebp
+ glib
+ gtk+-2
+ zlib
+ json-glib
+ nss
+ sqlite
+ libolm
+ http-parser
+ ))
+ (native-inputs
+ (list pkg-config
+ gettext-minimal
+ imagemagick
+ which
+
+ coreutils
+ ))
+ (synopsis "Discord messaging support for Pidgin")
+ (description
+ "A libpurple/Pidgin plugin for Discord")
+ (license license:gpl3))))
diff --git a/prismlauncher-gpu.scm b/prismlauncher-gpu.scm
deleted file mode 100644
index bc03b05..0000000
--- a/prismlauncher-gpu.scm
+++ /dev/null
@@ -1,83 +0,0 @@
-(define-module (prismlauncher-gpu)
- #:use-module (guix build-system cmake)
- #:use-module (gnu packages bash)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages pulseaudio)
- #:use-module (gnu packages qt)
- #:use-module (gnu packages xorg)
- #:use-module (gnu packages gl)
- #:use-module (gnu packages java)
- #:use-module (gnu packages kde-frameworks)
- #:use-module (guix packages)
- #:use-module (guix gexp)
- #:use-module (guix git-download)
- #:use-module ((guix licenses) :prefix license:)
- #:use-module ((nonguix licenses) :prefix non-license:))
-
-(define-public prismlauncher-gpu
- (package
- (name "prismlauncher-gpu")
- (version "8.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PrismLauncher/PrismLauncher")
- (recursive? #t)
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1iba8rl8vi6ivn024327yv59vbi89n67ml4vy8wcw0w9hczkjhis"))))
- (build-system cmake-build-system)
- (arguments
- `(#:configure-flags
- (list "-DLauncher_QT_VERSION_MAJOR=5")
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'patch-paths
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin/prismlauncher"))
- (xrandr (assoc-ref inputs "xrandr"))
- (qtwayland (assoc-ref inputs "qtwayland")))
- (wrap-program bin
- `("PATH" ":" prefix (,(string-append xrandr "/bin")))
- `("QT_PLUGIN_PATH" ":" prefix (,(string-append
- qtwayland "/lib/qt5/plugins"))))
- #t))))))
- (native-inputs (list extra-cmake-modules))
- (inputs (list bash-minimal ; for wrap-program
- zlib
- qtbase-5
- qtwayland
- xrandr
- libx11
- libxext
- libxcursor
- libxrandr
- libxxf86vm
- pulseaudio
- mesa
- glfw
- ))
- (propagated-inputs (list `(,openjdk17 "jdk")))
- (home-page "https://prismlauncher.org/")
- (synopsis "Free, open source launcher for Minecraft")
- (description
- "Allows you to have multiple, separate instances of Minecraft (each with
-their own mods, texture packs, saves, etc), and helps you manage them and
-their associated options with a simple interface.")
- (license (list license:gpl3 ; PolyMC, launcher
- license:expat ; MinGW runtime, lionshead, tomlc99
- license:lgpl3 ; Qt 5/6
- license:lgpl3+ ; libnbt++
- license:lgpl2.1+ ; rainbow (KGuiAddons)
- license:isc ; Hoedown
- license:silofl1.1 ; Material Design Icons
- license:lgpl2.1 ; Quazip
- license:public-domain ; xz-minidec, murmur2, xz-embedded
- license:bsd-3 ; ColumnResizer, O2 (Katabasis fork),
- ; gamemode, localpeer
- license:asl2.0 ; classparser, systeminfo
- ;; Batch icon set:
- (non-license:nonfree "file://COPYING.md")))))
diff --git a/python-xyz.scm b/python-xyz.scm
index 73cb686..d15e9a5 100644
--- a/python-xyz.scm
+++ b/python-xyz.scm
@@ -8,10 +8,14 @@
#:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages wget)
+ #:use-module (gnu packages web)
#:use-module (gnu packages video)
#:use-module (gnu packages python-web)
+ #:use-module (gnu packages python-check)
+ #:use-module (gnu packages check)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-science)
#:use-module (sherlock)
)
(define-public comedyGenerator
@@ -27,7 +31,7 @@
(sha256
(base32
"1mi33n9l0pshn1vnxcr56p5ldx1zr178dmaibz5ggqz7m347cj25"))))
- (build-system pyproject-build-system)
+ (build-system python-build-system)
(arguments
'(
#:phases
@@ -38,7 +42,7 @@
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((ffmpeg (string-append (assoc-ref inputs "ffmpeg") "/bin" )))
(wrap-program (string-append (assoc-ref outputs "out") "/bin/comedyGenerator")
- `("PATH" ":" prefix ,(list ffmpeg) ) ))))
+ `("PATH" ":" prefix ,(list ffmpeg) ) ))))
)))
(inputs
@@ -57,7 +61,7 @@
(define-public stashley
(package
(name "stashley")
- (version "2.0.2")
+ (version "2.0.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -66,8 +70,8 @@
(file-name (git-file-name name version))
(sha256
(base32
- "1rdzgf6cynnmyy3fwkbyvffpz7vkqsa2isp1dblrqas0arqgplqh"))))
- (build-system pyproject-build-system)
+ "1d83w8yb7570b9pdsj44vcflzs8a6hh0zcmkf076hx4s837bmqbl"))))
+ (build-system python-build-system)
(arguments
'(
#:phases
@@ -90,3 +94,135 @@
TOML files, and if IPFS is installed, pushing them to IPFS.")
(home-page "https://git.techchud.xyz/stashley/")
(license license:agpl3)))
+(define-public python-imagehash
+ (package
+ (name "python-imagehash")
+ (version "4.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ImageHash" version))
+ (sha256
+ (base32 "0w5ay3dblgn0ijg4mwmmq13a759by1bakh6q7pmmnn70z6vx2f3h"))))
+ (arguments
+ '( #:phases
+ (modify-phases %standard-phases
+ (delete 'check) ;Networking required for checks, so disable them
+ )))
+
+ (build-system python-build-system)
+ (propagated-inputs (list python-numpy python-pillow python-pywavelets
+ python-scipy))
+ (home-page "https://github.com/JohannesBuchner/imagehash")
+ (synopsis "Image Hashing library")
+ (description "Image Hashing library.")
+ (license #f)))
+
+(define-public python-httrack-py
+ (package
+ (name "python-httrack-py")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "httrack-py" version))
+ (sha256
+ (base32 "01s6ahn1mfnxcj602s8p6p1yxfigjwm8cqc1wlbfvxmrb0vb2isw"))))
+ (build-system python-build-system)
+(arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'apply-patch
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/httrack-py.c"
+ (("#include \"htscore.h\"") ""))))
+ (add-before 'build 'set-cflags
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "CFLAGS" (string-append "-I" (assoc-ref inputs "httrack") "/include/httrack")))))))
+ (native-inputs (list python-setuptools python-wheel))
+ (inputs (list httrack))
+ (home-page "http://code.google.com/p/httrack-py/")
+ (synopsis "httrack-py library: wrapper to use httrack website copier")
+ (description "httrack-py library: wrapper to use httrack website copier.")
+ (license license:gpl2)))
+
+(define-public python-hsh
+ (package
+ (name "python-hsh")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hsh" version))
+ (sha256
+ (base32 "11fznnb3vl6xplg2gvphrmglyw3s41r4jg5skl1gpslgafn46kn0"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-commandlines))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/chrissimpkins/hsh")
+ (synopsis "Simple file hash digests and file integrity checks")
+ (description "Simple file hash digests and file integrity checks.")
+ (license license:expat)))
+
+(define-public python-proglog
+ (package
+ (name "python-proglog")
+ (version "0.1.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "proglog" version))
+ (sha256
+ (base32 "1d6s9mg2fr3dr30x05cvsvw25kpakkzqyj2zyarawk1fr34ji335"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-tqdm))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "")
+ (synopsis "Log and progress bar manager for console, notebooks, web...")
+ (description "Log and progress bar manager for console, notebooks, web...")
+ (license license:expat)))
+
+(define-public python-moviepy
+ (package
+ (name "python-moviepy")
+ (version "2.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "moviepy" version))
+ (sha256
+ (base32 "0xzf73hnib7aqhblidqg0vhq4l60czgr21z8kynyl1znf9s7mi92"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-decorator
+ python-imageio
+ python-imageio-ffmpeg
+ python-numpy
+ python-pillow
+ python-proglog
+ python-dotenv))
+ (native-inputs (list python-coveralls python-pytest python-pytest-cov
+ python-setuptools python-wheel))
+ (home-page "https://github.com/Zulko/moviepy")
+ (synopsis "Video editing with Python")
+ (description "Video editing with Python.")
+ (license license:expat)))
+
+(define-public python-pymatting
+ (package
+ (name "python-pymatting")
+ (version "1.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pymatting" version))
+ (sha256
+ (base32 "00c1ad1glgb11055rbh8sqwycb979biyhbfwg96yzpdcxx5prnrc"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-numba python-numpy python-pillow
+ python-scipy))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://pymatting.github.io")
+ (synopsis "Python package for alpha matting.")
+ (description "Python package for alpha matting.")
+ (license license:expat)))
+
diff --git a/ruby-xyz.scm b/ruby-xyz.scm
new file mode 100644
index 0000000..03b68dd
--- /dev/null
+++ b/ruby-xyz.scm
@@ -0,0 +1,530 @@
+(define-module (ruby-xyz)
+ #:use-module ((guix licenses) :prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix build-system ruby)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix gexp)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages ruby)
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages compression)
+ #:use-module (sherlock)
+ )
+(define-public ruby-whirly
+ (package
+ (name "ruby-whirly")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "whirly" version))
+ (sha256
+ (base32 "0dggm1jkk9hlwnh5la3zsmsh4qv7n1ycmsnakl0lgdmpzgj3w9zm"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-unicode-display-width-1.3.0))
+ (synopsis
+ "Simple terminal spinner with support for custom spinners. Includes spinners from npm's cli-spinners.")
+ (description
+ "Simple terminal spinner with support for custom spinners. Includes spinners
+ from npm's cli-spinners.")
+ (home-page "https://github.com/janlelis/whirly")
+ (license license:expat)))
+
+(define-public ruby-unicode-utils
+ (package
+ (name "ruby-unicode-utils")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "unicode_utils" version))
+ (sha256
+ (base32 "0h1a5yvrxzlf0lxxa1ya31jcizslf774arnsd89vgdhk4g7x08mr"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis "additional Unicode aware functions for Ruby 1.9")
+ (description "additional Unicode aware functions for Ruby 1.9.")
+ (home-page "http://github.com/lang/unicode_utils")
+ (license #f)))
+
+(define-public ruby-strings-ansi
+ (package
+ (name "ruby-strings-ansi")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "strings-ansi" version))
+ (sha256
+ (base32 "120wa6yjc63b84lprglc52f40hx3fx920n4dmv14rad41rv2s9lh"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis "Methods for processing ANSI escape codes in strings.")
+ (description
+ "This package provides methods for processing ANSI escape codes in strings.")
+ (home-page "https://github.com/piotrmurach/strings-ansi")
+ (license license:expat)))
+
+(define-public ruby-strings
+ (package
+ (name "ruby-strings")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "strings" version))
+ (sha256
+ (base32 "06wrzj3yakfk021xblgcb27spxx3jiz23m82z0i9szwyxkhhga4k"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-strings-ansi ruby-unicode-display-width-1.3.0
+ ruby-unicode-utils))
+ (synopsis
+ "A set of methods for working with strings such as align, truncate, wrap and many more.")
+ (description
+ "This package provides a set of methods for working with strings such as align,
+ truncate, wrap and many more.")
+ (home-page "https://github.com/piotrmurach/strings")
+ (license license:expat)))
+
+(define-public ruby-tty-table
+ (package
+ (name "ruby-tty-table")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-table" version))
+ (sha256
+ (base32 "05krrj1x5pmfbz74paszrsr1316w9b9jlc4wpd9s9gpzqfzwjzcg"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-pastel ruby-strings ruby-tty-screen))
+ (synopsis "A flexible and intuitive table generator")
+ (description
+ "This package provides a flexible and intuitive table generator.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-wisper
+ (package
+ (name "ruby-wisper")
+ (version "1.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "wisper" version))
+ (sha256
+ (base32 "19bw0z1qw1dhv7gn9lad25hgbgpb1bkw8d599744xdfam158ms2s"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ " A micro library providing objects with Publish-Subscribe capabilities.
+ Both synchronous (in-process) and asynchronous (out-of-process) subscriptions are supported.
+ Check out the Wiki for articles, guides and examples: https://github.com/krisleech/wisper/wiki
+ ")
+ (description
+ "This package provides a micro library providing objects with Publish-Subscribe
+ capabilities. Both synchronous (in-process) and asynchronous (out-of-process)
+ subscriptions are supported. Check out the Wiki for articles, guides and
+ examples: https://github.com/krisleech/wisper/wiki.")
+ (home-page "https://github.com/krisleech/wisper")
+ (license license:expat)))
+
+(define-public ruby-tty-cursor
+ (package
+ (name "ruby-tty-cursor")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-cursor" version))
+ (sha256
+ (base32 "07whfm8mnp7l49s2cm2qy1snhsqq3a90sqwb71gvym4hm2kx822a"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "The purpose of this library is to help move the terminal cursor around and manipulate text by using intuitive method calls.")
+ (description
+ "The purpose of this library is to help move the terminal cursor around and
+ manipulate text by using intuitive method calls.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-tty-reader
+ (package
+ (name "ruby-tty-reader")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-reader" version))
+ (sha256
+ (base32 "1cf2k7w7d84hshg4kzrjvk9pkyc2g1m3nx2n1rpmdcf0hp4p4af6"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-tty-cursor ruby-tty-screen ruby-wisper))
+ (synopsis
+ "A set of methods for processing keyboard input in character, line and multiline modes. It maintains history of entered input with an ability to recall and re-edit those inputs. It lets you register to listen for keystroke events and trigger custom key events yourself.")
+ (description
+ "This package provides a set of methods for processing keyboard input in
+ character, line and multiline modes. It maintains history of entered input with
+ an ability to recall and re-edit those inputs. It lets you register to listen
+ for keystroke events and trigger custom key events yourself.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-tty-prompt
+ (package
+ (name "ruby-tty-prompt")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-prompt" version))
+ (sha256
+ (base32 "1026nyqhgmgxi2nmk8xk3hca07gy5rpisjs8y6w00wnw4f01kpv0"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-pastel ruby-tty-reader))
+ (synopsis
+ "A beautiful and powerful interactive command line prompt with a robust API for getting and validating complex inputs.")
+ (description
+ "This package provides a beautiful and powerful interactive command line prompt
+ with a robust API for getting and validating complex inputs.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-httpclient-fixcerts
+ (package
+ (name "ruby-httpclient-fixcerts")
+ (version "2.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "httpclient-fixcerts" version))
+ (sha256
+ (base32 "1zfszylh51y8ic8sbff3mwf30jb0gj270r5nxkcm1ydxad19w6sl"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "gives something like the functionality of libwww-perl (LWP) in Ruby")
+ (description
+ "gives something like the functionality of libwww-perl (LWP) in Ruby.")
+ (home-page "https://github.com/nahi/httpclient")
+ (license #f)))
+
+(define-public neocities
+ (package
+ (name "neocities")
+ (version "0.0.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "neocities" version))
+ (sha256
+ (base32 "17d5z0c04yx2a6g8bdkhiwyf5xvshdx4p07j2xlip8dnkkf9q4hw"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-httpclient-fixcerts
+ ruby-pastel
+ ruby-rake
+ ruby-tty-prompt
+ ruby-necromancer
+ ruby-tty-table
+ ruby-equatable
+ ruby-whirly))
+ (synopsis "Neocities.org CLI and API client")
+ (description "Neocities.org CLI and API client.")
+ (home-page "https://neocities.org")
+ (license license:expat)))
+
+(define-public ruby-equatable
+ (package
+ (name "ruby-equatable")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "equatable" version))
+ (sha256
+ (base32 "1sjm9zjakyixyvsqziikdrsqfzis6j3fq23crgjkp6fwkfgndj7x"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "Provide equality comparison methods for objects based on their attributes by generating implementations for the ==, eql?, hash and inspect methods.")
+ (description
+ "Provide equality comparison methods for objects based on their attributes by
+generating implementations for the ==, eql?, hash and inspect methods.")
+ (home-page "https://github.com/piotrmurach/equatable")
+ (license license:expat)))
+
+(define-public ruby-necromancer
+ (package
+ (name "ruby-necromancer")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "necromancer" version))
+ (sha256
+ (base32 "0v9nhdkv6zrp7cn48xv7n2vjhsbslpvs0ha36mfkcd56cp27pavz"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "Conversion from one object type to another with a bit of black magic.")
+ (description
+ "Conversion from one object type to another with a bit of black magic.")
+ (home-page "https://github.com/piotrmurach/necromancer")
+ (license license:expat)))
+(define-public ruby-pastel
+ (package
+ (name "ruby-pastel")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "pastel" version))
+ (sha256
+ (base32 "1yf30d9kzpm96gw9kwbv31p0qigwfykn8qdis5950plnzgc1vlp1"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-equatable ruby-tty-color))
+ (synopsis "Terminal strings styling with intuitive and clean API.")
+ (description "Terminal strings styling with intuitive and clean API.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+(define-public ruby-pastel
+ (package
+ (name "ruby-pastel")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "pastel" version))
+ (sha256
+ (base32 "1yf30d9kzpm96gw9kwbv31p0qigwfykn8qdis5950plnzgc1vlp1"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (propagated-inputs (list ruby-equatable ruby-tty-color))
+ (synopsis "Terminal strings styling with intuitive and clean API.")
+ (description "Terminal strings styling with intuitive and clean API.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-tty-color
+ (package
+ (name "ruby-tty-color")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-color" version))
+ (sha256
+ (base32 "103ahv1s5g14vrjj4byfk5j1cs3sipn0dd9imrfjh17gsl0vmqj3"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis "Terminal color capabilities detection")
+ (description "Terminal color capabilities detection.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-tty-screen
+ (package
+ (name "ruby-tty-screen")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-screen" version))
+ (sha256
+ (base32 "19iq03prqjbm0nr7yn0181lph52d994jwbcsqss3lwpwkl20s6bv"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "Terminal screen size detection which works on Linux, OS X and Windows/Cygwin platforms and supports MRI, JRuby and Rubinius interpreters.")
+ (description
+ "Terminal screen size detection which works on Linux, OS X and Windows/Cygwin
+platforms and supports MRI, JRuby and Rubinius interpreters.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
+(define-public ruby-rake
+ (package
+ (name "ruby-rake")
+ (version "12.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rake" version))
+ (sha256
+ (base32 "1idi53jay34ba9j68c3mfr9wwkg3cd9qh0fn9cg42hv72c6q8dyg"))))
+ (build-system ruby-build-system)
+ (synopsis
+ "Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
+specified in standard Ruby syntax.
+Rake has the following features:
+ * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
+ No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
+ * Users can specify tasks with prerequisites.
+ * Rake supports rule patterns to synthesize implicit tasks.
+ * Flexible FileLists that act like arrays but know about manipulating file names and paths.
+ * Supports parallel execution of tasks.
+")
+ (description
+ "Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
+specified in standard Ruby syntax. Rake has the following features: * Rakefiles
+(rake's version of Makefiles) are completely defined in standard Ruby syntax.
+No XML files to edit. No quirky Makefile syntax to worry about (is that a tab
+or a space?) * Users can specify tasks with prerequisites. * Rake supports rule
+patterns to synthesize implicit tasks. * Flexible @code{FileLists} that act like
+arrays but know about manipulating file names and paths. * Supports parallel
+execution of tasks.")
+ (home-page "https://github.com/ruby/rake")
+ (license license:expat)))
+
+(define-public ruby-unicode-display-width-1.3.0
+ (package
+ (name "ruby-unicode-display-width-1.3.0")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "unicode-display_width" version))
+ (sha256
+ (base32 "12pi0gwqdnbx1lv5136v3vyr0img9wr0kxcn4wn54ipq4y41zxq8"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'unpack 'modify-index
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((index-file (string-append "lib/unicode/display_width/index.rb")))
+ (when (file-exists? index-file)
+ (substitute* (list index-file)
+ (("Gem\\.gunzip") "Gem::Util.gunzip"))))))
+
+ )))
+ (propagated-inputs (list ruby-unicode-emoji))
+ (synopsis
+ "[Unicode 16.0.0] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, Emoji specification, and other data.")
+ (description
+ "[Unicode 16.0.0] Determines the monospace display width of a string using
+@code{EastAsianWidth.txt}, Unicode general category, Emoji specification, and
+other data.")
+ (home-page "https://github.com/janlelis/unicode-display_width")
+ (license license:expat)))
+
+(define-public ruby-unicode-emoji
+ (package
+ (name "ruby-unicode-emoji")
+ (version "4.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "unicode-emoji" version))
+ (sha256
+ (base32 "0ajk6rngypm3chvl6r0vwv36q1931fjqaqhjjya81rakygvlwb1c"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ )))
+ (synopsis
+ "[Emoji 16.0] Provides Unicode Emoji data and regexes, incorporating the latest Unicode and Emoji standards. Includes a categorized list of recommended Emoji.")
+ (description
+ "[Emoji 16.0] Provides Unicode Emoji data and regexes, incorporating the latest
+Unicode and Emoji standards. Includes a categorized list of recommended Emoji.")
+ (home-page "https://github.com/janlelis/unicode-emoji")
+ (license license:expat)))
+
diff --git a/sherlock.scm b/sherlock.scm
index a6f787a..2b4875a 100644
--- a/sherlock.scm
+++ b/sherlock.scm
@@ -40,6 +40,8 @@
python-pytest-cov
;python-pytest-network
python-readme-renderer
+ python-setuptools
+ python-wheel
python-twine))
(home-page "https://github.com/ross/requests-futures")
(synopsis "Asynchronous Python HTTP for Humans.")
@@ -73,7 +75,10 @@
(sha256
(base32 "10mf9p6r4wwk9m50jh5bpmvsnymkmn3wfqs30dx8vagx7zmd8i9p"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-pysocks python-requests python-stem))
+ (propagated-inputs (list python-pysocks python-requests python-stem
+ python-setuptools
+ python-wheel
+ ))
(home-page "http://github.com/erdiaker/torrequest")
(synopsis "A simple interface for HTTP(s) requests over Tor")
(description
diff --git a/unlustig.scm b/unlustig.scm
index 9075864..ba83092 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -1,130 +1,199 @@
(define-module (unlustig)
- #:use-module ((guix licenses) :prefix license:)
- #:use-module (guix packages)
- #:use-module (guix build-system cargo)
- #:use-module (guix download)
- #:use-module (guix build utils)
- #:use-module (guix git-download)
- #:use-module (gnu packages video)
- #:use-module (gnu packages image)
- #:use-module (gnu packages commencement)
- #:use-module (gnu packages perl)
- #:use-module (gnu packages rust)
- #:use-module (gnu packages python)
- #:use-module (gnu packages xorg)
- #:use-module (gnu packages crates-io)
- #:use-module (gnu packages crates-graphics)
- #:use-module (gnu packages crates-gtk)
- #:use-module (gnu packages crates-web)
- #:use-module (gnu packages crates-windows)
- #:use-module (gnu packages crates-apple)
- #:use-module (gnu packages crates-crypto)
- )
+ #:use-module ((guix licenses) :prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix build-system cargo)
+ #:use-module (guix download)
+ #:use-module (guix build utils)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages commencement)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages rust)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages crates-graphics)
+ #:use-module (gnu packages crates-gtk)
+ #:use-module (gnu packages crates-web)
+ #:use-module (gnu packages crates-windows)
+ #:use-module (gnu packages crates-apple)
+ #:use-module (gnu packages crates-crypto)
+ #:use-module (gnu packages crates-io)
+ )
-(define-public rust-human-bytes-0.3
+(define-public rust-user32-sys-0.1
(package
- (name "rust-human-bytes")
- (version "0.3.1")
+ (name "rust-user32-sys")
+ (version "0.1.3")
(source
(origin
(method url-fetch)
- (uri (crate-uri "human_bytes" version))
+ (uri (crate-uri "user32-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "05w8yb616p26fnjb9iqdlgb2nzx6dlcsl1n3q522x57c77fd9848"))))
+ (base32 "02pqzgm7qfdvlb0zqry98h76zwvaq19idd99i0ch8b4m7fc1kdz6"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-lexical" ,rust-lexical-6))))
- (home-page "https://sr.ht/~nkeor/human_bytes")
- (synopsis "Crate to convert bytes into human-readable values")
- (description "Crate to convert bytes into human-readable values")
- (license license:bsd-2)))
-
-(define-public rust-bltzxsd-discord-rich-presence
- (package
- (name "rust-bltzxsd-discord-rich-presence")
- (version "6d0bcf71f17a0371065d3efeb95ca61d9fe32c6a")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bltzxsd/discord-rich-presence.git")
- (commit version)))
- (sha256
- (base32
- "138h4ifjdqx8zd6cdjr4xd9ak1phrnpzb4gw0blsfsnzbrz6lx68"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-serde", rust-serde-1)
- ("rust-thiserror", rust-thiserror-1)
- ("rust-windows-named-pipe", rust-windows-named-pipe-0.1)
- ("rust-uuid", rust-uuid-0.8))
- #:phases
- (modify-phases %standard-phases
- (delete 'check))))
- (synopsis "library to connect and send data to Discord's IPC")
- (description "Simple, cross-platform crate to connect and send data to Discord's IPC")
- (home-page "https://github.com/bltzxsd/discord-rich-presence")
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library user32. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
(license license:expat)))
-(define-public unlustig
+(define-public rust-xml-rs-0.2
(package
- (name "unlustig")
- (version "0.0.14")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bltzxsd/unlustig")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0fmsnvg3wp4lcrhw661lqhibvwsbljdq0k6ph9b7yl45kqxyv6p7"))
- (modules '((guix build utils)))
- (snippet '(delete-file-recursively "deps"))))
- (inputs
- (list
- ffmpeg
- gifsicle
- ))
- (native-inputs
- (list
- perl
- python
- rust-bltzxsd-discord-rich-presence
- rust-imageproc-0.23
- gcc-toolchain
- libx11
- ))
- (build-system cargo-build-system)
- (arguments
- `(
- #:cargo-inputs
- (("discord-rich-presence", rust-bltzxsd-discord-rich-presence)
- ("imageproc", rust-imageproc-0.23)
- ("rust-dirs", rust-dirs-4)
- ("human-bytes", rust-human-bytes-0.3)
- ("indicatif", rust-indicatif-0.16)
- ("rust-klask", rust-klask-1)
- ("rust-ureq", rust-ureq-2)
- ("rust-yansi", rust-yansi-0.5)
- ("rust-winres", rust-winres-0.1)
- ("rust-wayland-client", rust-wayland-client-0.28.0)
- ("rust-simple-logger", rust-simple-logger-2)
- )
-
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'use-local
- (lambda _
- (substitute* "Cargo.toml" ( ("imageproc.*") "imageproc = \"0.23.0\"\n"))
- (substitute* "Cargo.toml" ( ("discord-rich-presence.*") "discord-rich-presence = \"0.1.8\"\n"))
- )))))
- (synopsis "GIF Caption tool")
- (description
- "A CLI and GUI program for making IFunny gif captions on your computer.")
- (home-page "https://github.com/bltzxsd/unlustig")
+ (name "rust-xml-rs")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xml-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hp9kf80y9qm3aiqg5psyshqfkcrjgifbcm2c2nc5qlzs80vc71w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--lib")
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1))))
+ (home-page "https://github.com/netvl/xml-rs")
+ (synopsis "XML library in pure Rust")
+ (description "An XML library in pure Rust.")
(license license:expat)))
+
+(define-public rust-quickcheck-1
+ (package
+ (name "rust-quickcheck")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quickcheck" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mjhkfqwrb8mdyxdqr4zzbj1rm5dfx25n9zcc25lb6fxwiw673sq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/BurntSushi/quickcheck")
+ (synopsis "Automatic property based testing with shrinking")
+ (description
+ "This package provides Automatic property based testing with shrinking.")
+ (license (list license:unlicense license:expat))))
+
+
+(define-public rust-human-bytes-0.3
+ (package
+ (name "rust-human-bytes")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "human_bytes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05w8yb616p26fnjb9iqdlgb2nzx6dlcsl1n3q522x57c77fd9848"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-lexical" ,rust-lexical-6))))
+ (home-page "https://sr.ht/~nkeor/human_bytes")
+ (synopsis "Crate to convert bytes into human-readable values")
+ (description "Crate to convert bytes into human-readable values")
+ (license license:bsd-2)))
+
+(define-public rust-bltzxsd-discord-rich-presence
+ (package
+ (name "rust-bltzxsd-discord-rich-presence")
+ (version "6d0bcf71f17a0371065d3efeb95ca61d9fe32c6a")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bltzxsd/discord-rich-presence.git")
+ (commit version)))
+ (sha256
+ (base32
+ "138h4ifjdqx8zd6cdjr4xd9ak1phrnpzb4gw0blsfsnzbrz6lx68"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde", rust-serde-1)
+ ("rust-thiserror", rust-thiserror-1)
+ ("rust-windows-named-pipe", rust-windows-named-pipe-0.1)
+ ("rust-uuid", rust-uuid-0.8))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'check))))
+ (synopsis "library to connect and send data to Discord's IPC")
+ (description "Simple, cross-platform crate to connect and send data to Discord's IPC")
+ (home-page "https://github.com/bltzxsd/discord-rich-presence")
+ (license license:expat)))
+
+(define-public unlustig
+ (package
+ (name "unlustig")
+ (version "0.0.14")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bltzxsd/unlustig")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0fmsnvg3wp4lcrhw661lqhibvwsbljdq0k6ph9b7yl45kqxyv6p7"))
+ (modules '((guix build utils)))
+ (snippet '(delete-file-recursively "deps"))))
+ (inputs
+ (list
+ ffmpeg
+ gifsicle
+ ))
+ (native-inputs
+ (list
+ perl
+ python
+ rust-bltzxsd-discord-rich-presence
+ rust-imageproc-0.23
+ gcc-toolchain
+ libx11
+ ))
+ (build-system cargo-build-system)
+ (arguments
+ `(
+ #:cargo-inputs
+ (("discord-rich-presence", rust-bltzxsd-discord-rich-presence)
+ ("imageproc", rust-imageproc-0.23)
+ ("rust-dirs", rust-dirs-4)
+ ("human-bytes", rust-human-bytes-0.3)
+ ("indicatif", rust-indicatif-0.16)
+ ("rust-klask", rust-klask-1)
+ ("rust-ureq", rust-ureq-2)
+ ("rust-yansi", rust-yansi-0.5)
+ ("rust-winres", rust-winres-0.1)
+ ("rust-wayland-client", rust-wayland-client-0.28.0)
+ ("rust-simple-logger", rust-simple-logger-2)
+ )
+
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'use-local
+ (lambda _
+ (substitute* "Cargo.toml" ( ("imageproc.*") "imageproc = \"0.23.0\"\n"))
+ (substitute* "Cargo.toml" ( ("discord-rich-presence.*") "discord-rich-presence = \"0.1.8\"\n"))
+ )))))
+ (synopsis "GIF Caption tool")
+ (description
+ "A CLI and GUI program for making IFunny gif captions on your computer.")
+ (home-page "https://github.com/bltzxsd/unlustig")
+ (license license:expat)))
(define-public rust-klask-1
(package
(name "rust-klask")
@@ -149,75 +218,37 @@
("rust-uuid" ,rust-uuid-0.8))))
(home-page "https://github.com/MichalGniadek/klask")
(synopsis "Automatically create GUI for clap apps")
- (description "Automatically create GUI for clap apps")
+ (description
+ "This package provides Automatically create GUI for clap apps.")
(license license:expat)))
(define-public rust-wayland-client-0.28.0
(package
(name "rust-wayland-client")
- (version "0.28.0")
+ (version "0.28.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ijn2syc4pqk547nbql9ymgh71s4i8yr733isgxwnags2i0snisi"))))
+ (base32 "0m831sj4w5k0j9167f2dy3815k73g153j09271cz20p5a0ik7az3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
("rust-downcast-rs" ,rust-downcast-rs-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-nix" ,rust-nix-0.18)
+ ("rust-nix" ,rust-nix-0.20)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-wayland-commons" ,rust-wayland-commons-0.28)
("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
("rust-wayland-sys" ,rust-wayland-sys-0.28))
- #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
+ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-2))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
- "Bindings to the standard C implementation of the wayland protocol, client side.")
+ "Bindings to the standard C implementation of the wayland protocol, client side")
(description
- "Bindings to the standard C implementation of the wayland protocol, client side.")
- (license license:expat)))
-
-(define-public rust-readwrite-0.1
- (package
- (name "rust-readwrite")
- (version "0.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "readwrite" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0wz4xlkzzwhki2lsw7vp1s4c86w9xkk42j897b93ds5vvac1p2bk"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1)
- ("rust-tokio-io" ,rust-tokio-io-0.1))))
- (home-page "https://github.com/vi/readwrite")
- (synopsis "Combine Read and Write into a single Read+Write object")
- (description "Combine Read and Write into a single Read+Write object")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-pipe-0.1
- (package
- (name "rust-pipe")
- (version "0.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "pipe" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "01ihfrbfr10w4lw9kqa3qi6jmn4i1nh8v9j45j7wgshi8r9zyig3"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-readwrite" ,rust-readwrite-0.1))))
- (home-page "https://github.com/arcnmx/pipe-rs")
- (synopsis "Synchronous Read/Write memory pipe")
- (description "Synchronous Read/Write memory pipe")
+ "This package provides Bindings to the standard C implementation of the wayland protocol, client side.")
(license license:expat)))
(define-public rust-windows-named-pipe-0.1
@@ -236,9 +267,9 @@
`(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))
(home-page "https://gitlab.com/dgriffen/windows-named-pipe")
- (synopsis "Windows named pipes with a unix-socket like interface
-")
- (description "Windows named pipes with a unix-socket like interface")
+ (synopsis "Windows named pipes with a unix-socket like interface")
+ (description
+ "This package provides Windows named pipes with a unix-socket like interface.")
(license license:bsd-2)))
(define-public rust-cansi-2
@@ -258,7 +289,8 @@
("rust-criterion" ,rust-criterion-0.3))))
(home-page "https://github.com/kurtlawrence/cansi")
(synopsis "Catergorise ANSI - ANSI escape code parser and categoriser")
- (description "Catergorise ANSI - ANSI escape code parser and categoriser")
+ (description
+ "This package provides Catergorise ANSI - ANSI escape code parser and categoriser.")
(license license:expat)))
(define-public rust-eframe-0.15
@@ -286,30 +318,7 @@
(synopsis
"egui framework - write GUI apps that compiles to web and/or natively")
(description
- "egui framework - write GUI apps that compiles to web and/or natively")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-linkify-0.7
- (package
- (name "rust-linkify")
- (version "0.7.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "linkify" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1y99xcmy6793m6x3z2qcyiw3dfrdvza3n659lmlv7kpzq7yjin04"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))
- #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3))))
- (home-page "https://github.com/robinst/linkify")
- (synopsis
- "Finds URLs and email addresses in plain text. Takes care to get the boundaries right with surrounding punctuation like parentheses.")
- (description
- "Finds URLs and email addresses in plain text. Takes care to get the boundaries
-right with surrounding punctuation like parentheses.")
+ "This package provides egui framework - write GUI apps that compiles to web and/or natively.")
(license (list license:expat license:asl2.0))))
(define-public rust-native-dialog-0.5
@@ -338,150 +347,12 @@ right with surrounding punctuation like parentheses.")
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/balthild/native-dialog-rs")
(synopsis
- "A library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows.")
+ "library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows.")
(description
"This package provides a library to display dialogs. Supports GNU/Linux, BSD
Unix, @code{macOS} and Windows.")
(license license:expat)))
-(define-public rust-wfd-0.1
- (package
- (name "rust-wfd")
- (version "0.1.7")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wfd" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1a6p8651l0q9dvzipam91nwv56n2ijxfpqg318dbzrdacw5h84z7"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://www.github.com/ben-wallis/wfd")
- (synopsis
- "A simple to use abstraction over the Open and Save dialogs in the Windows API")
- (description
- "This package provides a simple to use abstraction over the Open and Save dialogs
-in the Windows API")
- (license license:expat)))
-
-(define-public rust-egui-0.15
- (package
- (name "rust-egui")
- (version "0.15.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "egui" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1rzswl25w2ryfrkijm7fp7nfzmxl8sx1rfqp9mpzrjs36dm4338w"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
- ("rust-epaint" ,rust-epaint-0.15)
- ("rust-nohash-hasher" ,rust-nohash-hasher-0.2)
- ("rust-ron" ,rust-ron-0.7)
- ("rust-serde" ,rust-serde-1))))
- (home-page "https://github.com/emilk/egui")
- (synopsis
- "An easy-to-use immediate mode GUI that runs on both web and native")
- (description
- "An easy-to-use immediate mode GUI that runs on both web and native")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-dylib-0.0.1
- (package
- (name "rust-dylib")
- (version "0.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "dylib" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1bj7bs0vm31yf9vvfagmdqa333vyhshbypmcqliizmv7qh7hgzyd"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
- (home-page "")
- (synopsis "Standalone version of former dylib module")
- (description "Standalone version of former dylib module")
- (license #f)))
-
-(define-public rust-x11-dl-2
- (package
- (name "rust-x11-dl")
- (version "2.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "x11-dl" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0l9a7gzgsm5l4y5755id97sdy6bc05xyns0p5dfhpmv0r93pp2rk"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-dylib" ,rust-dylib-0.0.1)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/AltF02/x11-rs.git")
- (synopsis "X11 library bindings for Rust")
- (description "X11 library bindings for Rust")
- (license license:cc0)))
-
-(define-public rust-wayland-window-0.2
- (package
- (name "rust-wayland-window")
- (version "0.2.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wayland-window" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0k48mmkmpkj3jaj60j85raigh0ngk1yzp2fq48ac5jb3m39nk6rh"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5)
- ("rust-tempfile" ,rust-tempfile-2)
- ("rust-wayland-client" ,rust-wayland-client-0.5))
- #:cargo-development-inputs (("rust-wayland-client" ,rust-wayland-client-0.5))))
- (home-page "https://github.com/Smithay/wayland-window")
- (synopsis
- "A minimalistic window-decorations library built on top of wayland-client.")
- (description
- "This package provides a minimalistic window-decorations library built on top of
-wayland-client.")
- (license license:expat)))
-
-(define-public rust-wayland-kbd-0.3
- (package
- (name "rust-wayland-kbd")
- (version "0.3.6")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wayland-kbd" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0l5hirs1r1s1mwc9japw9xb1gsms893x5v7zprvhga8x9kl11g3k"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7)
- ("rust-dlib" ,rust-dlib-0.3)
- ("rust-lazy-static" ,rust-lazy-static-0.1)
- ("rust-memmap" ,rust-memmap-0.2)
- ("rust-wayland-client" ,rust-wayland-client-0.5))
- #:cargo-development-inputs (("rust-wayland-client" ,rust-wayland-client-0.5))))
- (home-page "https://github.com/smithay/wayland-kbd")
- (synopsis
- "Keyboard mapping utility for wayland-client using libxkbcommon.")
- (description
- "Keyboard mapping utility for wayland-client using libxkbcommon.")
- (license license:expat)))
-
(define-public rust-tempfile-2
(package
(name "rust-tempfile")
@@ -501,720 +372,57 @@ wayland-client.")
("rust-redox-syscall" ,rust-redox-syscall-0.1)
("rust-winapi" ,rust-winapi-0.2))))
(home-page "https://stebalien.com/projects/tempfile-rs/")
- (synopsis "A library for managing temporary files and directories.")
+ (synopsis "library for managing temporary files and directories.")
(description
"This package provides a library for managing temporary files and directories.")
(license (list license:expat license:asl2.0))))
-(define-public rust-wayland-sys-0.5
- (package
- (name "rust-wayland-sys")
- (version "0.5.11")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wayland-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0fl01v8wghplps6ba23zryz89dgidfvz3sl2bwhl8rg5bpzgfcwn"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.3)
- ("rust-lazy-static" ,rust-lazy-static-0.1)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/smithay/wayland-rs")
- (synopsis
- "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.")
- (description
- "FFI bindings to the various libwayland-*.so libraries. You should only need
-this crate if you are working on custom wayland protocol extensions. Look at
-the crate wayland-client for usable bindings.")
- (license license:expat)))
-
-(define-public rust-xml-rs-0.3
- (package
- (name "rust-xml-rs")
- (version "0.3.6")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "xml-rs" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0qmm2nss16b0f46fp30s2ka8k50a5i03jlp36672qf38magc7iky"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7))))
- (home-page "https://lib.rs/crates/xml-rs")
- (synopsis "An XML library in pure Rust")
- (description "An XML library in pure Rust")
- (license license:expat)))
-
-(define-public rust-wayland-scanner-0.5
- (package
- (name "rust-wayland-scanner")
- (version "0.5.11")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wayland-scanner" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0rjg6qs9a9j9895djjp9f2d20kizh0fm2947msmwpbvb1lvnj62s"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-xml-rs" ,rust-xml-rs-0.3))))
- (home-page "https://github.com/smithay/wayland-rs")
- (synopsis
- "Wayland Scanner for generating rust APIs from XML wayland protocol files.")
- (description
- "Wayland Scanner for generating rust APIs from XML wayland protocol files.")
- (license license:expat)))
-
-(define-public rust-target-build-utils-0.3
- (package
- (name "rust-target-build-utils")
- (version "0.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "target_build_utils" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0p7713x4bpbwi11l196z1mi8ym8qj1cdnab1mm2ffpm2wi516g81"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-phf" ,rust-phf-0.7)
- ("rust-phf-codegen" ,rust-phf-codegen-0.7)
- ("rust-serde-json" ,rust-serde-json-0.9))))
- (home-page "https://github.com/nagisa/target_build_utils.rs")
- (synopsis
- "DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`")
- (description
- "DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`")
- (license (list license:isc license:asl2.0))))
-
-(define-public rust-libloading-0.3
- (package
- (name "rust-libloading")
- (version "0.3.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "libloading" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0risz19rllhdc0d7nkpwkf4pcbjjgg1iim0kkmzb6kkp874hl0ha"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
- ("rust-lazy-static" ,rust-lazy-static-0.2)
- ("rust-target-build-utils" ,rust-target-build-utils-0.3)
- ("rust-winapi" ,rust-winapi-0.2))))
- (home-page "https://github.com/nagisa/rust_libloading/")
- (synopsis
- "Bindings around the platform's dynamic library loading primitives with greatly improved memory safety.")
- (description
- "Bindings around the platform's dynamic library loading primitives with greatly
-improved memory safety.")
- (license license:isc)))
-
-(define-public rust-dlib-0.3
- (package
- (name "rust-dlib")
- (version "0.3.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "dlib" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1v36322ilmdd1w3kh2xhm58ma9mxq9i4xdcwy84lav63w56cx2ql"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.3))))
- (home-page "https://github.com/elinorbgr/dlib")
- (synopsis
- "Helper macros for handling manually loading optional system libraries.")
- (description
- "Helper macros for handling manually loading optional system libraries.")
- (license license:expat)))
-
-(define-public rust-crossbeam-0.2
- (package
- (name "rust-crossbeam")
- (version "0.2.12")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "crossbeam" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1gmrayc93lygb8v62bj0c5zwyflvj5bli7ari650k259nlyncrmx"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.3))))
- (home-page "https://github.com/crossbeam-rs/crossbeam")
- (synopsis "Tools for concurrent programming")
- (description "This package provides tools for concurrent programming")
- (license (list license:asl2.0 license:expat))))
-
-(define-public rust-wayland-client-0.5
- (package
- (name "rust-wayland-client")
- (version "0.5.12")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "wayland-client" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "17jmi893jr34s8w175rnljwqi7vxc8d0wls0inhc0p3v2m60klyf"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7)
- ("rust-crossbeam" ,rust-crossbeam-0.2)
- ("rust-dlib" ,rust-dlib-0.3)
- ("rust-lazy-static" ,rust-lazy-static-0.1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-wayland-scanner" ,rust-wayland-scanner-0.5)
- ("rust-wayland-sys" ,rust-wayland-sys-0.5))
- #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-0.5)
- ("rust-tempfile" ,rust-tempfile-2))))
- (home-page "https://github.com/smithay/wayland-rs")
- (synopsis
- "Bindings to the standard C implementation of the wayland protocol, client side.")
- (description
- "Bindings to the standard C implementation of the wayland protocol, client side.")
- (license license:expat)))
-
-(define-public rust-user32-sys-0.1
- (package
- (name "rust-user32-sys")
- (version "0.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "user32-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "02pqzgm7qfdvlb0zqry98h76zwvaq19idd99i0ch8b4m7fc1kdz6"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
- ("rust-winapi-build" ,rust-winapi-build-0.1))))
- (home-page "https://github.com/retep998/winapi-rs")
- (synopsis
- "Contains function definitions for the Windows API library user32. See winapi for types and constants.")
- (description
- "This package contains function definitions for the Windows API library user32.
-See winapi for types and constants.")
- (license license:expat)))
-
-(define-public rust-shell32-sys-0.1
- (package
- (name "rust-shell32-sys")
- (version "0.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "shell32-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0b0jjnv8rr4flllvpx9lkfvvxdl3hac53cd2klf14mqz2134pq4y"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
- ("rust-winapi-build" ,rust-winapi-build-0.1))))
- (home-page "https://github.com/retep998/winapi-rs")
- (synopsis
- "Contains function definitions for the Windows API library shell32. See winapi for types and constants.")
- (description
- "This package contains function definitions for the Windows API library shell32.
-See winapi for types and constants.")
- (license license:expat)))
-
-(define-public rust-osmesa-sys-0.0.5
- (package
- (name "rust-osmesa-sys")
- (version "0.0.5")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "osmesa-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "179nqpaxaz1x48gs365v5cmwm76849n2rpw0q92ms9gsf26jsp72"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-shared-library" ,rust-shared-library-0.1))))
- (home-page "https://github.com/Daggerbot/osmesa-rs.git")
- (synopsis "OSMesa library bindings for Rust")
- (description "OSMesa library bindings for Rust")
- (license license:cc0)))
-
-(define-public rust-gdi32-sys-0.1
- (package
- (name "rust-gdi32-sys")
- (version "0.1.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "gdi32-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "04bcwaia0q46k4rajwpivdvlfyc2gw5vnvkbz247hlh724nbjglf"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
- ("rust-winapi-build" ,rust-winapi-build-0.1))))
- (home-page "https://github.com/retep998/winapi-rs")
- (synopsis
- "Contains function definitions for the Windows API library gdi32. See winapi for types and constants.")
- (description
- "This package contains function definitions for the Windows API library gdi32.
-See winapi for types and constants.")
- (license license:expat)))
-
-(define-public rust-dwmapi-sys-0.1
- (package
- (name "rust-dwmapi-sys")
- (version "0.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "dwmapi-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0xiyc8vibsda0kbamr9zkjvkdzdxcq8bs1g5mq4yc4mbmr168jxl"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
- ("rust-winapi-build" ,rust-winapi-build-0.1))))
- (home-page "https://github.com/retep998/winapi-rs")
- (synopsis
- "Contains function definitions for the Windows API library dwmapi. See winapi for types and constants.")
- (description
- "This package contains function definitions for the Windows API library dwmapi.
-See winapi for types and constants.")
- (license license:expat)))
-
-(define-public rust-objc-exception-0.0.2
- (package
- (name "rust-objc-exception")
- (version "0.0.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "objc_exception" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "02a22wqcx0hkbnsin7fzgpvvhw8ynv0sks2l4ra1wmk556k8axar"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-gcc" ,rust-gcc-0.3)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "http://github.com/SSheldon/rust-objc-exception")
- (synopsis
- "Rust interface for Objective-C's throw and try/catch statements.")
- (description
- "Rust interface for Objective-C's throw and try/catch statements.")
- (license license:expat)))
-
-(define-public rust-objc-0.1
+(define-public rust-wfd-0.1
(package
- (name "rust-objc")
- (version "0.1.8")
+ (name "rust-wfd")
+ (version "0.1.7")
(source
(origin
(method url-fetch)
- (uri (crate-uri "objc" version))
+ (uri (crate-uri "wfd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mj00d6fzdn518ryq4r1r32njgvgg1yri8n7by2rh4q3r1zgscsr"))))
+ (base32 "1a6p8651l0q9dvzipam91nwv56n2ijxfpqg318dbzrdacw5h84z7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-malloc-buf" ,rust-malloc-buf-0.0)
- ("rust-objc-exception" ,rust-objc-exception-0.0.2))))
- (home-page "http://github.com/SSheldon/rust-objc")
- (synopsis "Objective-C Runtime bindings and wrapper for Rust.")
- (description "Objective-C Runtime bindings and wrapper for Rust.")
- (license license:expat)))
-
-(define-public rust-serde-0.7
- (package
- (name "rust-serde")
- (version "0.7.15")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "serde" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "14haziy946c4m8h5bgg3c98558rbjim3jnl1c5zjdi4fm8r0f3hv"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))
- (home-page "https://serde.rs")
- (synopsis "A generic serialization/deserialization framework")
- (description
- "This package provides a generic serialization/deserialization framework")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-core-graphics-0.3
- (package
- (name "rust-core-graphics")
- (version "0.3.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "core-graphics" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "08y7si6hiwm25g4a9vdcqzhwpgkqaxabwcfjlyxfsam25c1ccmhc"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-core-foundation" ,rust-core-foundation-0.2)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-serde" ,rust-serde-0.7))))
- (home-page "https://github.com/servo/core-foundation-rs")
- (synopsis "Bindings to Core Graphics for macOS")
- (description "Bindings to Core Graphics for @code{macOS}")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-cocoa-0.2
- (package
- (name "rust-cocoa")
- (version "0.2.5")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "cocoa" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "10lzgy15wdk2vq5bg6xa8iqsbh8b44159p839z9mimmgkrxi6bbn"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.3)
- ("rust-core-graphics" ,rust-core-graphics-0.3)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-objc" ,rust-objc-0.1))))
- (home-page "https://github.com/servo/core-foundation-rs")
- (synopsis "Bindings to Cocoa for macOS")
- (description "Bindings to Cocoa for @code{macOS}")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-xml-rs-0.6
- (package
- (name "rust-xml-rs")
- (version "0.6.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "xml-rs" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "08a6lydyf3cmknicf0hnqdwyz5i4hfq20rcpswhig5bbw495x571"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.9))))
- (home-page "https://lib.rs/crates/xml-rs")
- (synopsis "An XML library in pure Rust")
- (description "An XML library in pure Rust")
- (license license:expat)))
-
-(define-public rust-gl-generator-0.5
- (package
- (name "rust-gl-generator")
- (version "0.5.5")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "gl_generator" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0756xj1inkh0j5mcigsyyl5amhg954hkd13av4d9wbnmlcmvzb77"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-khronos-api" ,rust-khronos-api-1)
- ("rust-log" ,rust-log-0.3)
- ("rust-xml-rs" ,rust-xml-rs-0.6))))
- (home-page "https://github.com/brendanzab/gl-rs/")
- (synopsis
- "Code generators for creating bindings to the Khronos OpenGL APIs.")
- (description
- "Code generators for creating bindings to the Khronos @code{OpenGL} APIs.")
- (license license:asl2.0)))
-
-(define-public rust-gleam-0.2
- (package
- (name "rust-gleam")
- (version "0.2.32")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "gleam" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "009d8rgxygh7sjpzl5kk7jklkqzvgs76gb5bqn0a0a6mg3jy144m"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.5)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
- (home-page "https://github.com/servo/gleam")
- (synopsis "Generated OpenGL bindings and wrapper for Servo.")
- (description "Generated @code{OpenGL} bindings and wrapper for Servo.")
- (license (list license:asl2.0 license:expat))))
-
-(define-public rust-cgl-0.1
- (package
- (name "rust-cgl")
- (version "0.1.5")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "cgl" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "044cycnn760gki4jnvsagwr3wds9pdmnpgsx8ysrqwsslv67ipcb"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-gleam" ,rust-gleam-0.2)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/servo/cgl-rs")
- (synopsis "Rust bindings for CGL on Mac")
- (description "Rust bindings for CGL on Mac")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-android-glue-0.1
- (package
- (name "rust-android-glue")
- (version "0.1.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "android_glue" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0y07v7vvirxlxbbkajglfdx4hfrm2vbzqbpwzkh5ib3vid7j25zp"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/tomaka/android-rs-glue")
- (synopsis "Glue for the Android JNI")
- (description "Glue for the Android JNI")
- (license license:expat)))
-
-(define-public rust-glutin-0.4
- (package
- (name "rust-glutin")
- (version "0.4.9")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "glutin" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "10d259jqbsalalnbag5mkqpqswyl424k666sqjzxbjlj2s5in7x7"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-android-glue" ,rust-android-glue-0.1)
- ("rust-cgl" ,rust-cgl-0.1)
- ("rust-cocoa" ,rust-cocoa-0.2)
- ("rust-core-foundation" ,rust-core-foundation-0.2)
- ("rust-core-graphics" ,rust-core-graphics-0.17)
- ("rust-dwmapi-sys" ,rust-dwmapi-sys-0.1)
- ("rust-gdi32-sys" ,rust-gdi32-sys-0.1)
- ("rust-gl-generator" ,rust-gl-generator-0.4)
- ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
- ("rust-khronos-api" ,rust-khronos-api-1)
- ("rust-lazy-static" ,rust-lazy-static-0.1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-objc" ,rust-objc-0.1)
- ("rust-osmesa-sys" ,rust-osmesa-sys-0.0.5)
- ("rust-shared-library" ,rust-shared-library-0.1)
- ("rust-shell32-sys" ,rust-shell32-sys-0.1)
- ("rust-user32-sys" ,rust-user32-sys-0.1)
- ("rust-wayland-client" ,rust-wayland-client-0.5)
- ("rust-wayland-kbd" ,rust-wayland-kbd-0.3)
- ("rust-wayland-window" ,rust-wayland-window-0.2)
- ("rust-winapi" ,rust-winapi-0.2)
- ("rust-x11-dl" ,rust-x11-dl-2))))
- (home-page "https://github.com/rust-windowing/glutin")
- (synopsis "Cross-platform OpenGL context provider.")
- (description "Cross-platform @code{OpenGL} context provider.")
- (license license:asl2.0)))
-
-(define-public rust-bitflags-0.3
- (package
- (name "rust-bitflags")
- (version "0.3.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "bitflags" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "171qfyjn5z86z6i5jynpwmwf03m8n6hql5di3n5l6kiw216nz1ij"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/bitflags/bitflags")
- (synopsis "A macro to generate structures which behave like bitflags.
-")
- (description
- "This package provides a macro to generate structures which behave like bitflags.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-xml-rs-0.2
- (package
- (name "rust-xml-rs")
- (version "0.2.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "xml-rs" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1gwy8hny2643j2yxpkcs3n4gxbfhxk72wgz06cfxf0ps6kwk8z0d"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.3))))
- (home-page "https://lib.rs/crates/xml-rs")
- (synopsis "An XML library in pure Rust")
- (description "An XML library in pure Rust")
- (license license:expat)))
-
-(define-public rust-khronos-api-1
- (package
- (name "rust-khronos-api")
- (version "1.0.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "khronos_api" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "19wib9dybhlgxpwp77sl5bbck4qas2vfldx43j7syrfn64m8x86m"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/brendanzab/gl-rs/")
- (synopsis
- "The Khronos XML API Registry, exposed as byte string constants.")
- (description
- "The Khronos XML API Registry, exposed as byte string constants.")
- (license license:asl2.0)))
-
-(define-public rust-gl-generator-0.4
- (package
- (name "rust-gl-generator")
- (version "0.4.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "gl_generator" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "048hnacz40sabbq50nccjf5qdiq9hw1wq0sbbmkkzpksdhnmp41p"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-khronos-api" ,rust-khronos-api-1)
- ("rust-log" ,rust-log-0.3)
- ("rust-xml-rs" ,rust-xml-rs-0.2))))
- (home-page "https://github.com/brendanzab/gl-rs/")
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://www.github.com/ben-wallis/wfd")
(synopsis
- "Code generators for creating bindings to the Khronos OpenGL APIs.")
+ "simple to use abstraction over the Open and Save dialogs in the Windows API")
(description
- "Code generators for creating bindings to the Khronos @code{OpenGL} APIs.")
- (license license:asl2.0)))
-
-(define-public rust-gl-0.5
- (package
- (name "rust-gl")
- (version "0.5.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "gl" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1a1xjar29zpw0lksqcskcf1x04zzs230x5qwchiigkpfriwykss9"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.4)
- ("rust-khronos-api" ,rust-khronos-api-1))
- #:cargo-development-inputs (("rust-glutin" ,rust-glutin-0.4))))
- (home-page "https://github.com/brendanzab/gl-rs/")
- (synopsis "OpenGL bindings")
- (description "@code{OpenGL} bindings")
- (license license:asl2.0)))
-
-(define-public rust-xcb-0.10
- (package
- (name "rust-xcb")
- (version "0.10.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "xcb" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "171acbbbsr05ilw7ih0cc79qysci5pv91zyrdlfcs87pdncjn7kp"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-log" ,rust-log-0.4)
- ("rust-quick-xml" ,rust-quick-xml-0.22)
- ("rust-x11" ,rust-x11-2))
- #:cargo-development-inputs (("rust-gl" ,rust-gl-0.5)
- ("rust-x11" ,rust-x11-2))))
- (home-page "https://github.com/rust-x-bindings/rust-xcb")
- (synopsis "Rust safe bindings for XCB")
- (description "Rust safe bindings for XCB")
- (license license:expat)))
-
-(define-public rust-x11-clipboard-0.5
- (package
- (name "rust-x11-clipboard")
- (version "0.5.3")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "x11-clipboard" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0g35qcmy7ayp3clbqnvvqjc7h02y9q2z294868c6mj0ap2vnhc27"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-xcb" ,rust-xcb-0.10))))
- (home-page "https://github.com/quininer/x11-clipboard")
- (synopsis "x11 clipboard support for Rust.")
- (description "x11 clipboard support for Rust.")
+ "This package provides a simple to use abstraction over the Open and Save dialogs
+in the Windows API.")
(license license:expat)))
-(define-public rust-copypasta-0.7
+(define-public rust-egui-0.15
(package
- (name "rust-copypasta")
- (version "0.7.1")
+ (name "rust-egui")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
- (uri (crate-uri "copypasta" version))
+ (uri (crate-uri "egui" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "02zz6yndszmzr5yjhn11g1hsj0232jbzl8gch6mxksw3xngxf8s4"))))
+ (base32 "1rzswl25w2ryfrkijm7fp7nfzmxl8sx1rfqp9mpzrjs36dm4338w"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3)
- ("rust-objc" ,rust-objc-0.2)
- ("rust-objc-foundation" ,rust-objc-foundation-0.1)
- ("rust-objc-id" ,rust-objc-id-0.1)
- ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6)
- ("rust-x11-clipboard" ,rust-x11-clipboard-0.5))))
- (home-page "https://github.com/alacritty/copypasta")
+ `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-epaint" ,rust-epaint-0.15)
+ ("rust-nohash-hasher" ,rust-nohash-hasher-0.2)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/emilk/egui")
(synopsis
- "copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard.")
+ "An easy-to-use immediate mode GUI that runs on both web and native")
(description
- "copypasta is a cross-platform library for getting and setting the contents of
-the OS-level clipboard.")
+ "This package provides An easy-to-use immediate mode GUI that runs on both web and native.")
(license (list license:expat license:asl2.0))))
(define-public rust-egui-winit-0.15
@@ -1239,7 +447,7 @@ the OS-level clipboard.")
("rust-winit" ,rust-winit-0.25))))
(home-page "https://github.com/emilk/egui/tree/master/crates/egui-winit")
(synopsis "Bindings for using egui with winit")
- (description "Bindings for using egui with winit")
+ (description "This package provides Bindings for using egui with winit.")
(license (list license:expat license:asl2.0))))
(define-public rust-egui-glium-0.15
@@ -1262,7 +470,8 @@ the OS-level clipboard.")
#:cargo-development-inputs (("rust-image" ,rust-image-0.23))))
(home-page "https://github.com/fayalalebrun/egui_glium")
(synopsis "Bindings for using egui natively using the glium library")
- (description "Bindings for using egui natively using the glium library")
+ (description
+ "This package provides Bindings for using egui natively using the glium library.")
(license (list license:expat license:asl2.0))))
(define-public rust-egui-glow-0.15
@@ -1287,7 +496,8 @@ the OS-level clipboard.")
#:cargo-development-inputs (("rust-image" ,rust-image-0.23))))
(home-page "https://github.com/emilk/egui/tree/master/crates/egui_glow")
(synopsis "Bindings for using egui natively using the glow library")
- (description "Bindings for using egui natively using the glow library")
+ (description
+ "This package provides Bindings for using egui natively using the glow library.")
(license (list license:expat license:asl2.0))))
(define-public rust-egui-web-0.15
@@ -1314,7 +524,8 @@ the OS-level clipboard.")
("rust-web-sys" ,rust-web-sys-0.3))))
(home-page "https://github.com/emilk/egui/tree/master/egui_web")
(synopsis "Bindings for compiling egui code to WASM for a web page")
- (description "Bindings for compiling egui code to WASM for a web page")
+ (description
+ "This package provides Bindings for compiling egui code to WASM for a web page.")
(license (list license:expat license:asl2.0))))
(define-public rust-epi-0.15
@@ -1336,7 +547,8 @@ the OS-level clipboard.")
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/emilk/egui/tree/master/epi")
(synopsis "Backend-agnostic interface for writing apps using egui")
- (description "Backend-agnostic interface for writing apps using egui")
+ (description
+ "This package provides Backend-agnostic interface for writing apps using egui.")
(license (list license:expat license:asl2.0))))
(define-public rust-rfd-0.5
@@ -1370,7 +582,7 @@ the OS-level clipboard.")
#:cargo-development-inputs (("rust-futures" ,rust-futures-0.3))))
(home-page "https://github.com/PolyMeilex/rfd")
(synopsis "Rusty File Dialog")
- (description "Rusty File Dialog")
+ (description "This package provides Rusty File Dialog.")
(license license:expat)))
(define-public rust-tts-0.17
@@ -1404,7 +616,8 @@ the OS-level clipboard.")
#:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8))))
(home-page "https://github.com/ndarilek/tts-rs")
(synopsis "High-level Text-To-Speech (TTS) interface")
- (description "High-level Text-To-Speech (TTS) interface")
+ (description
+ "This package provides High-level Text-To-Speech (TTS) interface.")
(license license:expat)))
(define-public rust-glow-0.11
@@ -1426,9 +639,9 @@ the OS-level clipboard.")
("rust-web-sys" ,rust-web-sys-0.3))))
(home-page "https://github.com/grovesNL/glow.git")
(synopsis
- "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code.")
+ "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code")
(description
- "GL on Whatever: a set of bindings to run GL (Open GL, @code{OpenGL} ES, and
+ "This package provides GL on Whatever: a set of bindings to run GL (Open GL, @code{OpenGL} ES, and
@code{WebGL}) anywhere, and avoid target-specific code.")
(license (list license:expat license:asl2.0))))
@@ -1465,54 +678,11 @@ the OS-level clipboard.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.25))))
(home-page "https://github.com/rust-windowing/glutin")
- (synopsis "Cross-platform OpenGL context provider.")
- (description "Cross-platform @code{OpenGL} context provider.")
+ (synopsis "Cross-platform OpenGL context provider")
+ (description
+ "This package provides Cross-platform @code{OpenGL} context provider.")
(license license:asl2.0)))
-(define-public rust-ouroboros-macro-0.10
- (package
- (name "rust-ouroboros-macro")
- (version "0.10.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "ouroboros_macro" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0s6aic49lyclhas6bh1f84qfy31m333mcvnmn4v02v5rdrx8aqzl"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-inflector" ,rust-inflector-0.11)
- ("rust-proc-macro-error" ,rust-proc-macro-error-1)
- ("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/someguynamedjosh/ouroboros")
- (synopsis "Proc macro for ouroboros crate.")
- (description "Proc macro for ouroboros crate.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-ouroboros-0.10
- (package
- (name "rust-ouroboros")
- (version "0.10.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "ouroboros" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1phbp9wjp36bvkwlyvr2zznaack6xcvg0z1869r3i33iy5j6s8w4"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1)
- ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.10)
- ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
- (home-page "https://github.com/someguynamedjosh/ouroboros")
- (synopsis "Easy, safe self-referential struct generation.")
- (description "Easy, safe self-referential struct generation.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-glium-0.30
(package
(name "rust-glium")
@@ -1554,10 +724,9 @@ Its objectives:
- Provide an API that enforces good pratices such as RAII or stateless function calls.
- Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge.
- Avoid all OpenGL errors beforehand.
- - Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.
-")
+ - Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.")
(description
- "Elegant and safe @code{OpenGL} wrapper. Glium is an intermediate layer between
+ "This package provides Elegant and safe @code{OpenGL} wrapper. Glium is an intermediate layer between
@code{OpenGL} and your application. You still need to manually handle the
graphics pipeline, but without having to use @code{OpenGL's} old and error-prone
API. Its objectives: - Be safe to use. Many aspects of @code{OpenGL} that can
@@ -1569,6 +738,33 @@ Produce optimized @code{OpenGL} function calls, and allow the user to easily use
modern @code{OpenGL} techniques.")
(license license:asl2.0)))
+(define-public rust-copypasta-0.7
+ (package
+ (name "rust-copypasta")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "copypasta" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02zz6yndszmzr5yjhn11g1hsj0232jbzl8gch6mxksw3xngxf8s4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+ ("rust-objc-id" ,rust-objc-id-0.1)
+ ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6)
+ ("rust-x11-clipboard" ,rust-x11-clipboard-0.5))))
+ (home-page "https://github.com/alacritty/copypasta")
+ (synopsis
+ "copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard")
+ (description
+ "This package provides copypasta is a cross-platform library for getting and setting the contents of
+the OS-level clipboard.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-winit-0.25
(package
(name "rust-winit")
@@ -1605,7 +801,7 @@ modern @code{OpenGL} techniques.")
("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-serde" ,rust-serde-1)
- ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12.3)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
("rust-stdweb" ,rust-stdweb-0.4)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wayland-client" ,rust-wayland-client-0.28)
@@ -1616,8 +812,9 @@ modern @code{OpenGL} techniques.")
("rust-image" ,rust-image-0.23)
("rust-simple-logger" ,rust-simple-logger-1))))
(home-page "https://github.com/rust-windowing/winit")
- (synopsis "Cross-platform window creation library.")
- (description "Cross-platform window creation library.")
+ (synopsis "Cross-platform window creation library")
+ (description
+ "This package provides Cross-platform window creation library.")
(license license:asl2.0)))
(define-public rust-epaint-0.15
@@ -1644,7 +841,8 @@ modern @code{OpenGL} techniques.")
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/emilk/egui/tree/master/crates/epaint")
(synopsis "Minimal 2D graphics library for GUI work")
- (description "Minimal 2D graphics library for GUI work")
+ (description
+ "This package provides Minimal 2D graphics library for GUI work.")
(license (list license:expat license:asl2.0))))
(define-public rust-nohash-hasher-0.2
@@ -1661,29 +859,29 @@ modern @code{OpenGL} techniques.")
(build-system cargo-build-system)
(home-page "https://github.com/paritytech/nohash-hasher")
(synopsis
- "An implementation of `std::hash::Hasher` which does not hash at all.")
+ "An implementation of `std::hash::Hasher` which does not hash at all")
(description
- "An implementation of `std::hash::Hasher` which does not hash at all.")
+ "This package provides An implementation of `std::hash::Hasher` which does not hash at all.")
(license (list license:asl2.0 license:expat))))
(define-public rust-dyn-clonable-0.9
(package
(name "rust-dyn-clonable")
- (version "0.9.0")
+ (version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "dyn-clonable" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1m4zlp5phn44znxqj6dkjilxpr5kvyil2ldxp77658h7wvq354jf"))))
+ (base32 "01885xap4dmln3yspzyr0mmcwnm9mdhlp80ag0iig3nmpywznvm3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-dyn-clonable-impl" ,rust-dyn-clonable-impl-0.9)
("rust-dyn-clone" ,rust-dyn-clone-1))))
(home-page "https://github.com/kardeiz/objekt-clonable")
(synopsis "Attribute wrapper for dyn-clone")
- (description "Attribute wrapper for dyn-clone")
+ (description "This package provides Attribute wrapper for dyn-clone.")
(license license:expat)))
(define-public rust-ndk-glue-0.3
@@ -1708,7 +906,7 @@ modern @code{OpenGL} techniques.")
("rust-ndk-sys" ,rust-ndk-sys-0.2))))
(home-page "https://github.com/rust-windowing/android-ndk-rs")
(synopsis "Startup code for android binaries")
- (description "Startup code for android binaries")
+ (description "This package provides Startup code for android binaries.")
(license (list license:expat license:asl2.0))))
(define-public rust-speech-dispatcher-0.7
@@ -1730,7 +928,7 @@ modern @code{OpenGL} techniques.")
(synopsis
"Rusty interface to the speech-dispatcher speech synthesis library")
(description
- "Rusty interface to the speech-dispatcher speech synthesis library")
+ "This package provides Rusty interface to the speech-dispatcher speech synthesis library.")
(license license:lgpl2.1)))
(define-public rust-tolk-0.5
@@ -1751,9 +949,32 @@ modern @code{OpenGL} techniques.")
("rust-widestring" ,rust-widestring-0.4))))
(home-page "https://github.com/darbaga/tolk-rs")
(synopsis "bindings to tolk.dll, a library to talk to screen readers")
- (description "bindings to tolk.dll, a library to talk to screen readers")
+ (description
+ "This package provides bindings to tolk.dll, a library to talk to screen readers.")
(license license:expat)))
+(define-public rust-ouroboros-0.10
+ (package
+ (name "rust-ouroboros")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ouroboros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1phbp9wjp36bvkwlyvr2zznaack6xcvg0z1869r3i33iy5j6s8w4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1)
+ ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.10)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/someguynamedjosh/ouroboros")
+ (synopsis "Easy, safe self-referential struct generation")
+ (description
+ "This package provides Easy, safe self-referential struct generation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-mio-misc-1
(package
(name "rust-mio-misc")
@@ -1774,7 +995,8 @@ modern @code{OpenGL} techniques.")
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/onurzdg/mio-misc")
(synopsis "Miscellaneous components for use with Mio")
- (description "Miscellaneous components for use with Mio")
+ (description
+ "This package provides Miscellaneous components for use with Mio.")
(license license:expat)))
(define-public rust-ndk-0.3
@@ -1798,27 +1020,28 @@ modern @code{OpenGL} techniques.")
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/rust-mobile/ndk")
(synopsis "Safe Rust bindings to the Android NDK")
- (description "Safe Rust bindings to the Android NDK")
+ (description
+ "This package provides Safe Rust bindings to the Android NDK.")
(license (list license:expat license:asl2.0))))
-(define-public rust-atomic-refcell-0.1
+
+(define-public rust-x11-clipboard-0.5
(package
- (name "rust-atomic-refcell")
- (version "0.1.13")
+ (name "rust-x11-clipboard")
+ (version "0.5.3")
(source
(origin
(method url-fetch)
- (uri (crate-uri "atomic_refcell" version))
+ (uri (crate-uri "x11-clipboard" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1"))))
+ (base32 "0g35qcmy7ayp3clbqnvvqjc7h02y9q2z294868c6mj0ap2vnhc27"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
- #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/bholley/atomic_refcell")
- (synopsis "Threadsafe RefCell")
- (description "Threadsafe @code{RefCell}")
- (license (list license:asl2.0 license:expat))))
+ `(#:cargo-inputs (("rust-xcb" ,rust-xcb-0.10))))
+ (home-page "https://github.com/quininer/x11-clipboard")
+ (synopsis "x11 clipboard support for Rust")
+ (description "This package provides x11 clipboard support for Rust.")
+ (license license:expat)))
(define-public rust-cint-0.2
(package
@@ -1836,7 +1059,7 @@ modern @code{OpenGL} techniques.")
`(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1))))
(home-page "https://github.com/termhn/cint")
(synopsis
- "A lean, minimal, and stable set of types for color interoperation between crates in Rust.")
+ "lean, minimal, and stable set of types for color interoperation between crates in Rust.")
(description
"This package provides a lean, minimal, and stable set of types for color
interoperation between crates in Rust.")
@@ -1860,7 +1083,7 @@ interoperation between crates in Rust.")
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/emilk/egui/tree/master/crates/emath")
(synopsis "Minimal 2D math library for GUI work")
- (description "Minimal 2D math library for GUI work")
+ (description "This package provides Minimal 2D math library for GUI work.")
(license (list license:expat license:asl2.0))))
(define-public rust-tolk-sys-0.2
@@ -1880,7 +1103,7 @@ interoperation between crates in Rust.")
("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/darbaga/tolk-sys")
(synopsis "Raw ffi bindings to Tolk.dll")
- (description "Raw ffi bindings to Tolk.dll")
+ (description "This package provides Raw ffi bindings to Tolk.dll.")
(license license:expat)))
(define-public rust-speech-dispatcher-sys-0.5
@@ -1900,7 +1123,7 @@ interoperation between crates in Rust.")
("rust-gcc" ,rust-gcc-0.3))))
(home-page "https://gitlab.com/ndarilek/speech-dispatcher-rs")
(synopsis "speech-dispatcher system bindings")
- (description "speech-dispatcher system bindings")
+ (description "This package provides speech-dispatcher system bindings.")
(license license:lgpl2.1)))
(define-public rust-android-logger-0.9
@@ -1922,8 +1145,7 @@ interoperation between crates in Rust.")
("rust-log" ,rust-log-0.4))))
(home-page "https://github.com/rust-mobile/android_logger-rs")
(synopsis
- "A logging implementation for `log` which hooks to android log output.
-")
+ "logging implementation for `log` which hooks to android log output.")
(description
"This package provides a logging implementation for `log` which hooks to android
log output.")
@@ -1932,23 +1154,23 @@ log output.")
(define-public rust-dyn-clonable-impl-0.9
(package
(name "rust-dyn-clonable-impl")
- (version "0.9.0")
+ (version "0.9.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "dyn-clonable-impl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1icrjdqiriiy6abxpsygyxylgxg2gq5j9z876pslqdrwazm413jm"))))
+ (base32 "0fi1fy6r2zaq88n21yszlcdbm66iz3xi2dbgl8vrm5sq83ap31ky"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))
+ ("rust-syn" ,rust-syn-2))
#:cargo-development-inputs (("rust-dyn-clone" ,rust-dyn-clone-1))))
(home-page "https://github.com/kardeiz/objekt-clonable")
(synopsis "Attribute wrapper for dyn-clone")
- (description "Attribute wrapper for dyn-clone")
+ (description "This package provides Attribute wrapper for dyn-clone.")
(license license:expat)))
(define-public rust-jni-glue-0.0.10
@@ -1970,11 +1192,310 @@ log output.")
(synopsis
"Manually written glue code to accompany the jni-bindgen code generator for binding to JVM APIs from Rust")
(description
- "Manually written glue code to accompany the jni-bindgen code generator for
-binding to JVM APIs from Rust")
+ "This package provides Manually written glue code to accompany the jni-bindgen code generator for
+binding to JVM APIs from Rust.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-xcb-0.10
+ (package
+ (name "rust-xcb")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xcb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "171acbbbsr05ilw7ih0cc79qysci5pv91zyrdlfcs87pdncjn7kp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-quick-xml" ,rust-quick-xml-0.22)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs (("rust-gl" ,rust-gl-0.5)
+ ("rust-x11" ,rust-x11-2))))
+ (home-page "https://github.com/rust-x-bindings/rust-xcb")
+ (synopsis "Rust safe bindings for XCB")
+ (description "This package provides Rust safe bindings for XCB.")
+ (license license:expat)))
+
+(define-public rust-gl-0.5
+ (package
+ (name "rust-gl")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a1xjar29zpw0lksqcskcf1x04zzs230x5qwchiigkpfriwykss9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.4)
+ ("rust-khronos-api" ,rust-khronos-api-1))
+ #:cargo-development-inputs (("rust-glutin" ,rust-glutin-0.4))))
+ (home-page "https://github.com/brendanzab/gl-rs/")
+ (synopsis "OpenGL bindings")
+ (description "This package provides @code{OpenGL} bindings.")
+ (license license:asl2.0)))
+
+(define-public rust-core-foundation-0.10
+ (package
+ (name "rust-core-foundation")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qscay14s2rwkg8nd8ljhiaf149hj8sfy95d70zssy64r3jp2lmm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-uuid" ,rust-uuid-1))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Core Foundation for macOS")
+ (description
+ "This package provides Bindings to Core Foundation for @code{macOS}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-criterion-0.3
+ (package
+ (name "rust-criterion")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "criterion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13yd64ah93gkbdv7qq4cr6rhgl9979jjcjk3gkhnav1b7glns7dh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-cast" ,rust-cast-0.3)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-criterion-plot" ,rust-criterion-plot-0.4)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-oorandom" ,rust-oorandom-11)
+ ("rust-plotters" ,rust-plotters-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-cbor" ,rust-serde-cbor-0.11)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smol" ,rust-smol-1)
+ ("rust-tinytemplate" ,rust-tinytemplate-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-walkdir" ,rust-walkdir-2))
+ #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://bheisler.github.io/criterion.rs/book/index.html")
+ (synopsis "Statistics-driven micro-benchmarking library")
+ (description
+ "This package provides Statistics-driven micro-benchmarking library.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-criterion-plot-0.4
+ (package
+ (name "rust-criterion-plot")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "criterion-plot" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xhq0jz1603585h7xvm3s4x9irmifjliklszbzs4cda00y1cqwr6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cast" ,rust-cast-0.3)
+ ("rust-itertools" ,rust-itertools-0.10))
+ #:cargo-development-inputs (("rust-itertools-num" ,rust-itertools-num-0.1)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/bheisler/criterion.rs")
+ (synopsis "Criterion's plotting library")
+ (description "This package provides Criterion's plotting library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-webbrowser-0.5
+ (package
+ (name "rust-webbrowser")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webbrowser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12hmi768mnpssfh9w61ys75v706jj3pcy4fliqq21dnnj1j1bbgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-widestring" ,rust-widestring-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/amodm/webbrowser-rs")
+ (synopsis "Open URLs in web browsers available on a platform")
+ (description
+ "This package provides Open URLs in web browsers available on a platform.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-gl-generator-0.4
+ (package
+ (name "rust-gl-generator")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gl_generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "048hnacz40sabbq50nccjf5qdiq9hw1wq0sbbmkkzpksdhnmp41p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-khronos-api" ,rust-khronos-api-1)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-xml-rs" ,rust-xml-rs-0.2))))
+ (home-page "https://github.com/brendanzab/gl-rs/")
+ (synopsis
+ "Code generators for creating bindings to the Khronos OpenGL APIs")
+ (description
+ "This package provides Code generators for creating bindings to the Khronos @code{OpenGL} APIs.")
+ (license license:asl2.0)))
+
+(define-public rust-khronos-api-1
+ (package
+ (name "rust-khronos-api")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos_api" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19wib9dybhlgxpwp77sl5bbck4qas2vfldx43j7syrfn64m8x86m"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/brendanzab/gl-rs/")
+ (synopsis "The Khronos XML API Registry, exposed as byte string constants")
+ (description
+ "This package provides The Khronos XML API Registry, exposed as byte string constants.")
+ (license license:asl2.0)))
+
+(define-public rust-glutin-0.4
+ (package
+ (name "rust-glutin")
+ (version "0.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10d259jqbsalalnbag5mkqpqswyl424k666sqjzxbjlj2s5in7x7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-android-glue" ,rust-android-glue-0.1)
+ ("rust-cgl" ,rust-cgl-0.1)
+ ("rust-cocoa" ,rust-cocoa-0.2)
+ ("rust-core-foundation" ,rust-core-foundation-0.2)
+ ("rust-core-graphics" ,rust-core-graphics-0.3)
+ ("rust-dwmapi-sys" ,rust-dwmapi-sys-0.1)
+ ("rust-gdi32-sys" ,rust-gdi32-sys-0.1)
+ ("rust-gl-generator" ,rust-gl-generator-0.4)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-khronos-api" ,rust-khronos-api-1)
+ ("rust-lazy-static" ,rust-lazy-static-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc" ,rust-objc-0.1)
+ ("rust-osmesa-sys" ,rust-osmesa-sys-0.0.5)
+ ("rust-shared-library" ,rust-shared-library-0.1)
+ ("rust-shell32-sys" ,rust-shell32-sys-0.1)
+ ("rust-user32-sys" ,rust-user32-sys-0.1)
+ ("rust-wayland-client" ,rust-wayland-client-0.5)
+ ("rust-wayland-kbd" ,rust-wayland-kbd-0.3)
+ ("rust-wayland-window" ,rust-wayland-window-0.2)
+ ("rust-winapi" ,rust-winapi-0.2)
+ ("rust-x11-dl" ,rust-x11-dl-2))))
+ (home-page "https://github.com/rust-windowing/glutin")
+ (synopsis "Cross-platform OpenGL context provider")
+ (description
+ "This package provides Cross-platform @code{OpenGL} context provider.")
+ (license license:asl2.0)))
+
+(define-public rust-android-glue-0.1
+ (package
+ (name "rust-android-glue")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "android_glue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y07v7vvirxlxbbkajglfdx4hfrm2vbzqbpwzkh5ib3vid7j25zp"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/tomaka/android-rs-glue")
+ (synopsis "Glue for the Android JNI")
+ (description "This package provides Glue for the Android JNI.")
+ (license license:expat)))
+
+(define-public rust-cgl-0.1
+ (package
+ (name "rust-cgl")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cgl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "044cycnn760gki4jnvsagwr3wds9pdmnpgsx8ysrqwsslv67ipcb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gleam" ,rust-gleam-0.2)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/cgl-rs")
+ (synopsis "Rust bindings for CGL on Mac")
+ (description "This package provides Rust bindings for CGL on Mac.")
(license (list license:expat license:asl2.0))))
-(define-public rust-smithay-client-toolkit-0.12.3
+(define-public rust-gleam-0.2
+ (package
+ (name "rust-gleam")
+ (version "0.2.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gleam" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "009d8rgxygh7sjpzl5kk7jklkqzvgs76gb5bqn0a0a6mg3jy144m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.5)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/servo/gleam")
+ (synopsis "Generated OpenGL bindings and wrapper for Servo")
+ (description
+ "This package provides Generated @code{OpenGL} bindings and wrapper for Servo.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-smithay-client-toolkit-0.12
(package
(name "rust-smithay-client-toolkit")
(version "0.12.3")
@@ -2000,7 +1521,692 @@ binding to JVM APIs from Rust")
("rust-wayland-protocols" ,rust-wayland-protocols-0.28))
#:cargo-development-inputs (("rust-image" ,rust-image-0.23))))
(home-page "https://github.com/smithay/client-toolkit")
- (synopsis "Toolkit for making client wayland applications.")
- (description "Toolkit for making client wayland applications.")
+ (synopsis "Toolkit for making client wayland applications")
+ (description
+ "This package provides Toolkit for making client wayland applications.")
+ (license license:expat)))
+
+(define-public rust-gl-generator-0.5
+ (package
+ (name "rust-gl-generator")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gl_generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0756xj1inkh0j5mcigsyyl5amhg954hkd13av4d9wbnmlcmvzb77"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-khronos-api" ,rust-khronos-api-1)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-xml-rs" ,rust-xml-rs-0.6))))
+ (home-page "https://github.com/brendanzab/gl-rs/")
+ (synopsis
+ "Code generators for creating bindings to the Khronos OpenGL APIs")
+ (description
+ "This package provides Code generators for creating bindings to the Khronos @code{OpenGL} APIs.")
+ (license license:asl2.0)))
+
+(define-public rust-xml-rs-0.6
+ (package
+ (name "rust-xml-rs")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xml-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08a6lydyf3cmknicf0hnqdwyz5i4hfq20rcpswhig5bbw495x571"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.9))))
+ (home-page "https://lib.rs/crates/xml-rs")
+ (synopsis "An XML library in pure Rust")
+ (description "This package provides An XML library in pure Rust.")
(license license:expat)))
+(define-public rust-cocoa-0.2
+ (package
+ (name "rust-cocoa")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10lzgy15wdk2vq5bg6xa8iqsbh8b44159p839z9mimmgkrxi6bbn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.3)
+ ("rust-core-graphics" ,rust-core-graphics-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc" ,rust-objc-0.1))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Cocoa for macOS")
+ (description "This package provides Bindings to Cocoa for @code{macOS}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-bitflags-0.3
+ (package
+ (name "rust-bitflags")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitflags" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "171qfyjn5z86z6i5jynpwmwf03m8n6hql5di3n5l6kiw216nz1ij"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/bitflags/bitflags")
+ (synopsis "macro to generate structures which behave like bitflags.")
+ (description
+ "This package provides a macro to generate structures which behave like bitflags.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-core-graphics-0.3
+ (package
+ (name "rust-core-graphics")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08y7si6hiwm25g4a9vdcqzhwpgkqaxabwcfjlyxfsam25c1ccmhc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-core-foundation" ,rust-core-foundation-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-0.7))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Core Graphics for macOS")
+ (description
+ "This package provides Bindings to Core Graphics for @code{macOS}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-objc-0.1
+ (package
+ (name "rust-objc")
+ (version "0.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mj00d6fzdn518ryq4r1r32njgvgg1yri8n7by2rh4q3r1zgscsr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-malloc-buf" ,rust-malloc-buf-0.0.6)
+ ("rust-objc-exception" ,rust-objc-exception-0.0.2))))
+ (home-page "http://github.com/SSheldon/rust-objc")
+ (synopsis "Objective-C Runtime bindings and wrapper for Rust")
+ (description
+ "This package provides Objective-C Runtime bindings and wrapper for Rust.")
+ (license license:expat)))
+
+(define-public rust-core-foundation-0.2
+ (package
+ (name "rust-core-foundation")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Core Foundation for macOS")
+ (description
+ "This package provides Bindings to Core Foundation for @code{macOS}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-serde-0.7
+ (package
+ (name "rust-serde")
+ (version "0.7.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14haziy946c4m8h5bgg3c98558rbjim3jnl1c5zjdi4fm8r0f3hv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0.302))))
+ (home-page "https://serde.rs")
+ (synopsis "generic serialization/deserialization framework")
+ (description
+ "This package provides a generic serialization/deserialization framework.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-malloc-buf-0.0.6
+ (package
+ (name "rust-malloc-buf")
+ (version "0.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "malloc_buf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/SSheldon/malloc_buf")
+ (synopsis "Structs for handling malloc'd memory passed to Rust")
+ (description
+ "This package provides Structs for handling malloc'd memory passed to Rust.")
+ (license license:expat)))
+
+(define-public rust-objc-exception-0.0.2
+ (package
+ (name "rust-objc-exception")
+ (version "0.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc_exception" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02a22wqcx0hkbnsin7fzgpvvhw8ynv0sks2l4ra1wmk556k8axar"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gcc" ,rust-gcc-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "http://github.com/SSheldon/rust-objc-exception")
+ (synopsis
+ "Rust interface for Objective-C's throw and try/catch statements")
+ (description
+ "This package provides Rust interface for Objective-C's throw and try/catch statements.")
+ (license license:expat)))
+
+(define-public rust-core-foundation-sys-0.2
+ (package
+ (name "rust-core-foundation-sys")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Core Foundation for macOS")
+ (description
+ "This package provides Bindings to Core Foundation for @code{macOS}.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-dwmapi-sys-0.1
+ (package
+ (name "rust-dwmapi-sys")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dwmapi-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xiyc8vibsda0kbamr9zkjvkdzdxcq8bs1g5mq4yc4mbmr168jxl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library dwmapi. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library dwmapi.
+See winapi for types and constants.")
+ (license license:expat)))
+
+(define-public rust-gdi32-sys-0.1
+ (package
+ (name "rust-gdi32-sys")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdi32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04bcwaia0q46k4rajwpivdvlfyc2gw5vnvkbz247hlh724nbjglf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library gdi32. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library gdi32.
+See winapi for types and constants.")
+ (license license:expat)))
+
+(define-public rust-osmesa-sys-0.0.5
+ (package
+ (name "rust-osmesa-sys")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "osmesa-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "179nqpaxaz1x48gs365v5cmwm76849n2rpw0q92ms9gsf26jsp72"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-shared-library" ,rust-shared-library-0.1))))
+ (home-page "https://github.com/Daggerbot/osmesa-rs.git")
+ (synopsis "OSMesa library bindings for Rust")
+ (description "This package provides OSMesa library bindings for Rust.")
+ (license license:cc0)))
+
+(define-public rust-shell32-sys-0.1
+ (package
+ (name "rust-shell32-sys")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shell32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b0jjnv8rr4flllvpx9lkfvvxdl3hac53cd2klf14mqz2134pq4y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library shell32. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library shell32.
+See winapi for types and constants.")
+ (license license:expat)))
+
+(define-public rust-wayland-client-0.5
+ (package
+ (name "rust-wayland-client")
+ (version "0.5.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-client" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17jmi893jr34s8w175rnljwqi7vxc8d0wls0inhc0p3v2m60klyf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7)
+ ("rust-crossbeam" ,rust-crossbeam-0.2)
+ ("rust-dlib" ,rust-dlib-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.5)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.5))
+ #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-0.5)
+ ("rust-tempfile" ,rust-tempfile-2))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Bindings to the standard C implementation of the wayland protocol, client side")
+ (description
+ "This package provides Bindings to the standard C implementation of the wayland protocol, client side.")
+ (license license:expat)))
+
+(define-public rust-wayland-kbd-0.3
+ (package
+ (name "rust-wayland-kbd")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-kbd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l5hirs1r1s1mwc9japw9xb1gsms893x5v7zprvhga8x9kl11g3k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7)
+ ("rust-dlib" ,rust-dlib-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-0.1)
+ ("rust-memmap" ,rust-memmap-0.2)
+ ("rust-wayland-client" ,rust-wayland-client-0.5))
+ #:cargo-development-inputs (("rust-wayland-client" ,rust-wayland-client-0.5))))
+ (home-page "https://github.com/smithay/wayland-kbd")
+ (synopsis "Keyboard mapping utility for wayland-client using libxkbcommon")
+ (description
+ "This package provides Keyboard mapping utility for wayland-client using libxkbcommon.")
+ (license license:expat)))
+
+(define-public rust-wayland-window-0.2
+ (package
+ (name "rust-wayland-window")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-window" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k48mmkmpkj3jaj60j85raigh0ngk1yzp2fq48ac5jb3m39nk6rh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5)
+ ("rust-tempfile" ,rust-tempfile-2)
+ ("rust-wayland-client" ,rust-wayland-client-0.5))
+ #:cargo-development-inputs (("rust-wayland-client" ,rust-wayland-client-0.5))))
+ (home-page "https://github.com/Smithay/wayland-window")
+ (synopsis
+ "minimalistic window-decorations library built on top of wayland-client.")
+ (description
+ "This package provides a minimalistic window-decorations library built on top of
+wayland-client.")
+ (license license:expat)))
+
+(define-public rust-user32-sys-0.1
+ (package
+ (name "rust-user32-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "user32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02pqzgm7qfdvlb0zqry98h76zwvaq19idd99i0ch8b4m7fc1kdz6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library user32. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
+ (license license:expat)))
+
+(define-public rust-dlib-0.3
+ (package
+ (name "rust-dlib")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dlib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v36322ilmdd1w3kh2xhm58ma9mxq9i4xdcwy84lav63w56cx2ql"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.3))))
+ (home-page "https://github.com/elinorbgr/dlib")
+ (synopsis
+ "Helper macros for handling manually loading optional system libraries")
+ (description
+ "This package provides Helper macros for handling manually loading optional system libraries.")
+ (license license:expat)))
+
+(define-public rust-wayland-scanner-0.5
+ (package
+ (name "rust-wayland-scanner")
+ (version "0.5.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-scanner" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rjg6qs9a9j9895djjp9f2d20kizh0fm2947msmwpbvb1lvnj62s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-xml-rs" ,rust-xml-rs-0.3))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Wayland Scanner for generating rust APIs from XML wayland protocol files")
+ (description
+ "This package provides Wayland Scanner for generating rust APIs from XML wayland protocol files.")
+ (license license:expat)))
+
+(define-public rust-wayland-sys-0.5
+ (package
+ (name "rust-wayland-sys")
+ (version "0.5.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fl01v8wghplps6ba23zryz89dgidfvz3sl2bwhl8rg5bpzgfcwn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-0.1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings")
+ (description
+ "This package provides FFI bindings to the various libwayland-*.so libraries. You should only need
+this crate if you are working on custom wayland protocol extensions. Look at
+the crate wayland-client for usable bindings.")
+ (license license:expat)))
+
+(define-public rust-lazy-static-0.1
+ (package
+ (name "rust-lazy-static")
+ (version "0.1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazy_static" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05vl1h4b0iv800grsdyc3fg2bq29p70wjav6zpjvxxd5i8d6s66g"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
+ (synopsis "macro for declaring lazily evaluated statics in Rust.")
+ (description
+ "This package provides a macro for declaring lazily evaluated statics in Rust.")
+ (license license:expat)))
+
+(define-public rust-libloading-0.3
+ (package
+ (name "rust-libloading")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libloading" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0risz19rllhdc0d7nkpwkf4pcbjjgg1iim0kkmzb6kkp874hl0ha"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-target-build-utils" ,rust-target-build-utils-0.3)
+ ("rust-winapi" ,rust-winapi-0.2))))
+ (home-page "https://github.com/nagisa/rust_libloading/")
+ (synopsis
+ "Bindings around the platform's dynamic library loading primitives with greatly improved memory safety")
+ (description
+ "This package provides Bindings around the platform's dynamic library loading primitives with greatly
+improved memory safety.")
+ (license license:isc)))
+
+(define-public rust-wayland-sys-0.5
+ (package
+ (name "rust-wayland-sys")
+ (version "0.5.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fl01v8wghplps6ba23zryz89dgidfvz3sl2bwhl8rg5bpzgfcwn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-0.1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings")
+ (description
+ "This package provides FFI bindings to the various libwayland-*.so libraries. You should only need
+this crate if you are working on custom wayland protocol extensions. Look at
+the crate wayland-client for usable bindings.")
+ (license license:expat)))
+
+(define-public rust-wayland-scanner-0.5
+ (package
+ (name "rust-wayland-scanner")
+ (version "0.5.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-scanner" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rjg6qs9a9j9895djjp9f2d20kizh0fm2947msmwpbvb1lvnj62s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-xml-rs" ,rust-xml-rs-0.3))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Wayland Scanner for generating rust APIs from XML wayland protocol files")
+ (description
+ "This package provides Wayland Scanner for generating rust APIs from XML wayland protocol files.")
+ (license license:expat)))
+
+(define-public rust-user32-sys-0.1
+ (package
+ (name "rust-user32-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "user32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02pqzgm7qfdvlb0zqry98h76zwvaq19idd99i0ch8b4m7fc1kdz6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis
+ "Contains function definitions for the Windows API library user32. See winapi for types and constants")
+ (description
+ "This package contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
+ (license license:expat)))
+
+(define-public rust-ouroboros-macro-0.10
+ (package
+ (name "rust-ouroboros-macro")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ouroboros_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s6aic49lyclhas6bh1f84qfy31m333mcvnmn4v02v5rdrx8aqzl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-inflector" ,rust-inflector-0.11)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/someguynamedjosh/ouroboros")
+ (synopsis "Proc macro for ouroboros crate")
+ (description "This package provides Proc macro for ouroboros crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-crossbeam-0.2
+ (package
+ (name "rust-crossbeam")
+ (version "0.2.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gmrayc93lygb8v62bj0c5zwyflvj5bli7ari650k259nlyncrmx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/crossbeam-rs/crossbeam")
+ (synopsis "Tools for concurrent programming")
+ (description "This package provides tools for concurrent programming.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-xml-rs-0.3
+ (package
+ (name "rust-xml-rs")
+ (version "0.3.8") ; This version was yanked!
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xml-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fzyr8892g9zry6f17pnfdaxlsaqmyx64wbxgagldik0haln94kj"))))
+ (properties '((crate-version-yanked? . #t)))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7))))
+ (home-page "https://lib.rs/crates/xml-rs")
+ (synopsis "An XML library in pure Rust")
+ (description "This package provides An XML library in pure Rust.")
+ (license license:expat)))
+
+(define-public rust-target-build-utils-0.3
+ (package
+ (name "rust-target-build-utils")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "target_build_utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0p7713x4bpbwi11l196z1mi8ym8qj1cdnab1mm2ffpm2wi516g81"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-phf" ,rust-phf-0.7)
+ ("rust-phf-codegen" ,rust-phf-codegen-0.7)
+ ("rust-serde-json" ,rust-serde-json-0.9))))
+ (home-page "https://github.com/nagisa/target_build_utils.rs")
+ (synopsis
+ "DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`")
+ (description
+ "This package provides DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`.")
+ (license (list license:isc license:asl2.0))))
+
diff --git a/vesktop.scm b/vesktop.scm
index a1a8da9..bf4dd43 100644
--- a/vesktop.scm
+++ b/vesktop.scm
@@ -113,7 +113,7 @@
(define-public vesktop
(package
(name "vesktop-bin")
- (version "1.5.3")
+ (version "1.5.4")
(source
(origin
(method url-fetch)
@@ -121,7 +121,7 @@
(string-append
"https://github.com/Vencord/Vesktop/releases/download/v" version "/vesktop_" version "_amd64.deb"))
(sha256
- (base32 "0zjbwhmd270qczj19yy3gfb250zxxa1al8zn4bwl73ij9bkhjwfc"))))
+ (base32 "0pvwkvk0q0dd3dziwmv83sxh69bb1n32zdkd8wyrc7j9zvp2pq0x"))))
(supported-systems '("x86_64-linux"))
(build-system (use-modern-gcc-on-chromium-binary chromium-binary-build-system))
(arguments