diff options
-rw-r--r-- | aux-files/matrix-purple/fix-g_memdup.patch | 25 | ||||
-rw-r--r-- | aux-files/python-bugwarrior/gitea-support.patch | 149 | ||||
-rw-r--r-- | aux-files/stable-diffusion-cpp/vulkan-support.patch | 123 | ||||
-rw-r--r-- | bugwarrior.scm | 67 | ||||
-rw-r--r-- | machinelearning.scm | 373 | ||||
-rw-r--r-- | messaging.scm | 322 | ||||
-rw-r--r-- | ruby-xyz.scm | 530 | ||||
-rw-r--r-- | unlustig.scm | 2428 |
8 files changed, 2566 insertions, 1451 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/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/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 63fd822..da20980 100644 --- a/machinelearning.scm +++ b/machinelearning.scm @@ -105,265 +105,6 @@ (description "This package provides a library for installing Python wheels.") (license #f))) -(define-public python-rclip - (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") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mlfoundations/open_clip") - (commit (string-append "v" 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 - )) - (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}") - (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 - (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) - (arguments - (list - #:phases #~(modify-phases %standard-phases (delete 'check)))) - (native-inputs (list poetry)) - (home-page "https://github.com/ezyang/expecttest") - (synopsis "") - (description "") - (license license:expat))) - -(define-public python-timm - (package - (name "python-timm") - (version "0.9.16") - (source - (origin - (method url-fetch) - (uri (pypi-uri "timm" version)) - (sha256 - (base32 "1rkif1mkgryirn78aw9rkwplf3hzfqbw3c0slwqxynnmfprm87l9")))) - (build-system pyproject-build-system) - (arguments - (list - #: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 - - 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))) - -(define-public rust-memmap2-0.5 - (package - (name "rust-memmap2") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "memmap2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vp9pxd20gyq8196v73chxdw6gfxz3g4lkdkvffd5slgawds2is6")))) - (build-system cargo-build-system) - (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)))) - -(define-public rust-safetensors-0.4 - (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) - (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))) - -(define-public python-safetensors - (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) - (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)) - #: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") - )) - ) - - #: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))) - (define-public ggml (package (name "ggml") @@ -453,7 +194,7 @@ (define-public stable-diffusion-cpp (package (name "stable-diffusion-cpp") - (version "dcf91f9e0f2cbf9da472ee2a556751ed4bab2d2a") + (version "10feacf031cccc19b7f1257048ec32b778a01dbf") (source (origin (method git-fetch) @@ -464,9 +205,9 @@ (file-name (git-file-name name version)) (sha256 (base32 - "0dhh4m710kiwrs4yc64saab5rkjg5psxr15cm6fsl64pv4ssk7v5")))) + "1l66r2xxcrlfqkl9dl8xw30rv99nlvzdzfyg4n4zlx6xmbbr5d9f")))) (build-system cmake-build-system) - (inputs (list openblas)) + (inputs (list openblas git-minimal )) (arguments '( #:tests? #f @@ -494,56 +235,57 @@ (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)))) + (inputs (list vulkan-headers vulkan-loader shaderc libomp git-minimal)) + )) (define-public exiv2-staticlibs (package (inherit exiv2) - (arguments - `(#: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-after 'unpack 'patch-gcc-reference - (lambda _ - ;; _GLIBCXX_ASSERTIONS brings reference to GCC. - (substitute* "cmake/compilerFlags.cmake" - (("add_compile_options[(]-Wp,-D_GLIBCXX_ASSERTIONS[)]") - "")))) - - ,@(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]"))))) - '())))) + (arguments + `(#: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-after 'unpack 'patch-gcc-reference + (lambda _ + ;; _GLIBCXX_ASSERTIONS brings reference to GCC. + (substitute* "cmake/compilerFlags.cmake" + (("add_compile_options[(]-Wp,-D_GLIBCXX_ASSERTIONS[)]") + "")))) + + ,@(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-gui-wx (package - (name "stable-diffusion-cpp-gui-wx") - (version "6f604f836961002fbce72a205c1e6cc6d6a531e9") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fszontagh/sd.cpp.gui.wx") - (recursive? #t) - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "035zqhjnwdb07ag4chj9zijl70wk81kinqwlnvs9ixb2fzl1z374")))) + (name "stable-diffusion-cpp-gui-wx") + (version "6f604f836961002fbce72a205c1e6cc6d6a531e9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fszontagh/sd.cpp.gui.wx") + (recursive? #t) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "035zqhjnwdb07ag4chj9zijl70wk81kinqwlnvs9ixb2fzl1z374")))) (build-system cmake-build-system) (arguments '( @@ -553,17 +295,17 @@ "-DSD_AVX=ON" "-DWXWIDGETS_VERSION=3.2.5" (string-append "-DWXWIDGETS_EXTRA_PATH=" (assoc-ref %build-inputs "wxwidgets")) - ) + ) #:substitutable? #f ) ) - (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) - )) + (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 @@ -612,7 +354,7 @@ (define-public clip-cpp (package (name "clip-cpp") - (version "f4ee24bb86680a27f83c8e8c70adbcf4cb776615") + (version "348b283cb6c2fc2bde450cc08a05a789dbe109e4") (source (origin (method git-fetch) @@ -623,7 +365,7 @@ (file-name (git-file-name name version)) (sha256 (base32 - "0wybslxzygs1bwdmiy9la0fzids112iiajb3ca6sjkhjp7nwakky")))) + "0xyjnzk8wgx77ip6k9969ljckxmaf165ypbh013hsrvgcrq9knrs")))) (build-system cmake-build-system) ;(inputs (list openblas)) (arguments @@ -708,7 +450,8 @@ #: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") 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/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/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)))) + |