* Packaging
@ 2021-03-06 9:59 mecqor labi
2021-03-06 14:14 ` Packaging Joshua Branson
2021-03-06 14:40 ` Packaging Tobias Geerinckx-Rice
0 siblings, 2 replies; 7+ messages in thread
From: mecqor labi @ 2021-03-06 9:59 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
Please package (Dialect <https://github.com/gi-lom/dialect>) for Guix;
Thanks
(This is not my primary email)
[-- Attachment #2: Type: text/html, Size: 182 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Packaging
2021-03-06 9:59 Packaging mecqor labi
@ 2021-03-06 14:14 ` Joshua Branson
2021-03-06 18:46 ` Packaging Leo Famulari
2021-03-06 14:40 ` Packaging Tobias Geerinckx-Rice
1 sibling, 1 reply; 7+ messages in thread
From: Joshua Branson @ 2021-03-06 14:14 UTC (permalink / raw)
To: mecqor labi; +Cc: guix-devel
mecqor labi <mecqorlabi@gmail.com> writes:
> Please package (Dialect) for Guix; Thanks
>
> (This is not my primary email)
>
These kind of questions are probably best directed toward
help-guix@gnu.org. :) Also, it sounds like dialect
(https://github.com/gi-lom/dialect) is software as a service, which is
kind of frowned upon...But now I realize that we have
gtk-youtube-viewer, is probably also software as a service in some
sense...
Also, why don't you give packaging it yourself a try? Ask for help on
#guix when you run into issues.
--
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
https://propernaming.org
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Packaging
2021-03-06 9:59 Packaging mecqor labi
2021-03-06 14:14 ` Packaging Joshua Branson
@ 2021-03-06 14:40 ` Tobias Geerinckx-Rice
1 sibling, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice @ 2021-03-06 14:40 UTC (permalink / raw)
To: mecqor labi; +Cc: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --]
Mecqor, Guix,
mecqor labi 写道:
> Please package (Dialect <https://github.com/gi-lom/dialect>) for
> Guix;
Guix is run by volunteers who don't tend to package software on
demand. The best way to see something added to Guix is to package
it yourself and submit it to guix-patches at gnu.org.
Getting into packaging is easier than most people think. We try
to be as responsive and helpful as possible, either via e-mail at
help-guix at gnu.org, or on the Freenode IRC network's #guix
channel.
That said: I packaged this programme back in January. I never
submitted it to Guix because it quickly became obvious that it's
harmful.
Dialect is not a ‘translation app’ at all but simply replaces the
HTML text field at translate.google.com with a GTK-native one. In
fact it was already rendered useless by a Google API change that
requires shipping an alpha release of a library.
I won't rehash the FSF's excellent article[0] about such ‘fake
software’ here, but I will attach the patches. Because if this
*is* added to Guix, I'd very much like my warnings to be included
in the description.
Related: <http://issues.guix.gnu.org/46385>.
Kind regards,
T G-R
[0]:
https://www.gnu.org/philosophy/who-does-that-server-really-serve.html
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-python-gtts.patch --]
[-- Type: text/x-patch, Size: 2388 bytes --]
From b2112ac230a17d6ae1a350145d50a31a715167b9 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sun, 3 Jan 2021 15:09:30 +0100
Subject: [PATCH 1/3] gnu: Add python-gtts.
* gnu/packages/python-web.scm (python-gtts): New public variable.
---
gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b0268e5a31..75f07b92d6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -558,6 +558,45 @@ over a different origin than that of the web application.")
(define-public python2-furl
(package-with-python2 python-furl))
+(define-public python-gtts
+ (package
+ (name "python-gtts")
+ (version "2.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gTTS" version))
+ (sha256
+ (base32 "03qah9gxhx8m6apviqyffay2dpijm2k5h88ikzgndyvs6zc18dxm"))))
+ (build-system python-build-system)
+ (arguments
+ ;; XXX: The test suite requires unpackaged python-testfixtures, at least.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-click" ,python-click)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)))
+ ;;(native-inputs
+ ;; `(("python-flake8" ,python-flake8)
+ ;; ("python-mock" ,python-mock)
+ ;; ("python-pytest" ,python-pytest)
+ ;; ("python-pytest-cov" ,python-pytest-cov)
+ ;; ("python-six" ,python-six)
+ ;; ("python-testfixtures" ,python-testfixtures)))
+ (home-page "https://github.com/pndurette/gTTS")
+ (synopsis "Google Translate text-to-speech SaaSS client and library")
+ (description
+ "This package provides a Python API to interact with the @acronym{gTTS,
+Google Translate text-to-speech} @acronym{SaaSS, Service as a Software
+Substitute}.
+
+You should not use this library in your software: it does nothing but send all
+submitted text on to Google and give them complete control over the result.
+It is useless without an Internet connection, or if the API is changed. When
+the service is discontinued, all copies of your software will become useless as
+well.")
+ (license license:expat)))
+
(define-public python-httplib2
(package
(name "python-httplib2")
--
2.30.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-Add-python-googletrans.patch --]
[-- Type: text/x-patch, Size: 2451 bytes --]
From 0a7a98f127834e368a2944a994fe72b2a735d01b Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sun, 3 Jan 2021 15:11:56 +0100
Subject: [PATCH 2/3] gnu: Add python-googletrans.
* gnu/packages/python-web.scm (python-googletrans): New public variable.
---
gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 75f07b92d6..b0dc135537 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -558,6 +558,45 @@ over a different origin than that of the web application.")
(define-public python2-furl
(package-with-python2 python-furl))
+(define-public python-googletrans
+ (package
+ (name "python-googletrans")
+ ;; This is an alpha version. Google helpfully broke the 3.0.0 release to
+ ;; validate the warning in the description below -- thanks!
+ ;; <https://github.com/gi-lom/dialect/issues/104#issuecomment-739972652>
+ (version "3.1.0a0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "googletrans" version))
+ (sha256
+ (base32 "015fvyk1fq61n33bzawg1fcplb810lr6wv2xgs5334apjykp60yj"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-version-restrictions
+ (lambda _
+ (substitute* "setup.py"
+ (("==") ">=")))))))
+ (native-inputs
+ `(("python-coveralls" ,python-coveralls)
+ ("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-httpx" ,python-httpx)))
+ (home-page "https://github.com/ssut/py-googletrans")
+ (synopsis "Google Translate SaaSS Python client library")
+ (description
+ "This package provides a Python API to interact with the Google Translate
+@acronym{SaaSS, Service as a Software Substitute}.
+
+You should not use this library in your software: it does nothing but send the
+translation queries on to Google and give them complete control over the result.
+It is useless without an Internet connection, or if the API is changed. When
+the service is discontinued, all copies of your software will become useless as
+well.")
+ (license license:expat)))
+
(define-public python-gtts
(package
(name "python-gtts")
--
2.30.1
[-- Attachment #1.4: 0003-gnu-Add-dialect.patch --]
[-- Type: text/x-patch, Size: 5342 bytes --]
From ef297af5bd73eb6148843b879c451916df7de405 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sun, 3 Jan 2021 15:15:26 +0100
Subject: [PATCH 3/3] gnu: Add dialect.
* gnu/packages/language.scm (dialect): New public variable.
---
gnu/packages/language.scm | 61 ++++++++++++++++++++++++++++++++++++-
gnu/packages/python-web.scm | 2 +-
2 files changed, 61 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 651b2305c9..ffd2be5ae6 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Nikita <nikita@n0.is>
;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
@@ -33,6 +33,7 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages ibus)
#:use-module (gnu packages java)
@@ -45,6 +46,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages qt)
#:use-module (gnu packages sqlite)
@@ -58,6 +60,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
@@ -68,6 +71,62 @@
#:use-module (guix git-download)
#:use-module (guix utils))
+(define-public dialect
+ ;; XXX The ‘About’ dialogue icon is missing.
+ (package
+ (name "dialect")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gi-lom/dialect")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yvayqi80c3cwhs2hx186ybr15jp1d9frp8fzg38lf6pi44nypvk"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-typelib
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/dialect")
+ `("GI_TYPELIB_PATH" prefix
+ ,(search-path-as-string->list (getenv "GI_TYPELIB_PATH")))
+ `("PYTHONPATH" prefix
+ ,(search-path-as-string->list (getenv "PYTHONPATH"))))))))))
+ (native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+ ("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin") ; for glib-compile-resources
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk+-bin" ,gtk+ "bin") ; for gtk-update-icon-cache
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("libhandy" ,libhandy)))
+ (propagated-inputs
+ `(("python-googletrans" ,python-googletrans)
+ ("python-gst" ,python-gst)
+ ("python-gtts" ,python-gtts)
+ ("python-pygobject" ,python-pygobject)))
+ (home-page "https://github.com/gi-lom/dialect")
+ (synopsis "Desktop client for the Google Translate network SaaSS")
+ (description
+ "Dialect is a very thin graphical desktop client for the Google Translate
+network @acronym{SaaSS, Service as a Software Substitute} that replaces the Web
+interface with a native GTK 3 window. It lets you translate text between many
+languages without opening a browser.
+
+Dialect is not translation software: it simply forwards input to Google's
+servers and displays the result. It's useless without an Internet connection,
+if you are blocked for performing too many translations, or when the service
+is discontinued.")
+ (license gpl3+)))
+
(define-public nimf
(package
(name "nimf")
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b0dc135537..6126fa26b4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
--
2.30.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: Packaging
2021-03-06 14:14 ` Packaging Joshua Branson
@ 2021-03-06 18:46 ` Leo Famulari
0 siblings, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2021-03-06 18:46 UTC (permalink / raw)
To: mecqor labi, guix-devel
On Sat, Mar 06, 2021 at 09:14:49AM -0500, Joshua Branson wrote:
> mecqor labi <mecqorlabi@gmail.com> writes:
>
> > Please package (Dialect) for Guix; Thanks
> >
> > (This is not my primary email)
> >
>
> These kind of questions are probably best directed toward
> help-guix@gnu.org. :) Also, it sounds like dialect
> (https://github.com/gi-lom/dialect) is software as a service, which is
> kind of frowned upon...But now I realize that we have
> gtk-youtube-viewer, is probably also software as a service in some
> sense...
And many others! As long as it is freely licensed and not malware, it's
okay for Guix :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Packaging
@ 2021-03-27 7:37 mecqor labi
2021-03-27 14:53 ` Packaging Maxime Devos
0 siblings, 1 reply; 7+ messages in thread
From: mecqor labi @ 2021-03-27 7:37 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
Please package shadowsocks-rust for Guix! Many users have a big problem in
access to free internet, and have to go through censorship wall. Please!!!
[-- Attachment #2: Type: text/html, Size: 175 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Packaging
2021-03-27 7:37 Packaging mecqor labi
@ 2021-03-27 14:53 ` Maxime Devos
[not found] ` <CAGxZdwJ1=X8+JP5WetApL4p_6ACDhgFje7SO7wOwLgO_BVe0VA@mail.gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Maxime Devos @ 2021-03-27 14:53 UTC (permalink / raw)
To: mecqor labi, guix-devel
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
Hi,
On Sat, 2021-03-27 at 07:37 +0000, mecqor labi wrote:
> Please package shadowsocks-rust for Guix!
Is there any reason the "shadowsocks" package is not
usable for you? Also, feel free to package it yourself
(See the manual for how) and note the folks at guix-devel@gnu.org
don't (often) take packaging requests. (But see
<https://libreplanet.org/wiki/Group:Guix/Wishlist>.)
> Many users have a big problem in access to free internet, and have to go through censorship wall.
> Please!!!
Would Tor suit your purposes? <https://www.torproject.org/>
It's packaged in guix (the tor browser itself isn't, however).
Greetings,
Maxime
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Packaging
[not found] ` <CAGxZdwJ1=X8+JP5WetApL4p_6ACDhgFje7SO7wOwLgO_BVe0VA@mail.gmail.com>
@ 2021-03-28 10:43 ` Maxime Devos
0 siblings, 0 replies; 7+ messages in thread
From: Maxime Devos @ 2021-03-28 10:43 UTC (permalink / raw)
To: mecqor labi; +Cc: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 744 bytes --]
Please keep guix-devel@gnu.org in CC: or To:.
On Sun, 2021-03-28 at 10:18 +0000, mecqor labi wrote:
> Thanks for your help,
> The Shadowsocks package does not work in Guix at all, and this has been reported over the developers of Guix, but it has never been solved.
> About Tor, this is not what I want, speed of the program is very slow, I have problem in upload files and other ...
>
> [...]
Guix has a package importer for rust crates:
"guix import crate shadowsocks"
I imported the shadowsocks crate and some dependencies (see attachment).
(To build: "guix build -f d.scm") Some dependencies are still missing,
but I hope this is enough to get you started with writing the package
definition.
Greetings,
Maxime
[-- Attachment #1.2: d.scm --]
[-- Type: text/x-scheme, Size: 7883 bytes --]
(use-modules (gnu packages crates-io)
((guix licenses) #:prefix license:)
(guix build-system cargo)
(guix packages)
(guix download)
(guix git-download))
(define-public rust-spin-0.9
(package
(name "rust-spin")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "spin" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0y2406b02rkn1p1mfcb9vn6mxy1nb222k2gfq5b2lcw1rfcbyyxq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-lock-api" ,rust-lock-api-0.4))))
(home-page
"https://github.com/mvdnes/spin-rs.git")
(synopsis
"Spin-based synchronization primitives")
(description
"Spin-based synchronization primitives")
(license license:expat)))
(define-public rust-notify-5
(package
(name "rust-notify")
(version "5.0.0-pre.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "notify" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1hzlm8lscdbrd2gsniikqv4cv0g0w10yfpp61b0bkv9l6jwq5zg5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anymap" ,rust-anymap-0.12)
("rust-bitflags" ,rust-bitflags-1)
("rust-crossbeam-channel"
,rust-crossbeam-channel-0.5)
("rust-filetime" ,rust-filetime-0.2)
("rust-fsevent" ,rust-fsevent-2)
("rust-fsevent-sys" ,rust-fsevent-sys-3)
("rust-inotify" ,rust-inotify-0.9)
("rust-libc" ,rust-libc-0.2)
("rust-mio" ,rust-mio-0.7)
("rust-serde" ,rust-serde-1)
("rust-walkdir" ,rust-walkdir-2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://github.com/notify-rs/notify")
(synopsis
"Cross-platform filesystem notification library")
(description
"Cross-platform filesystem notification library")
(license license:cc0)))
(define-public rust-nix-0.20
(package
(name "rust-nix")
(version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nix" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cc" ,rust-cc-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
(("rust-bytes" ,rust-bytes-0.4)
;; TODO update to 0.5
("rust-caps" ,rust-caps-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-rand" ,rust-rand-0.6)
("rust-semver" ,rust-semver-0.9)
("rust-sysctl" ,rust-sysctl-0.1)
("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/nix-rust/nix")
(synopsis "Rust friendly bindings to *nix APIs")
(description
"Rust friendly bindings to *nix APIs")
(license license:expat)))
(define-public rust-byte-string-1
(package
(name "rust-byte-string")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "byte-string" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1vdll2i5gdx98d3wqbrq8c2l61jqqhzlri7d3hskm35a0mxdxahi"))))
(build-system cargo-build-system)
(home-page
"https://github.com/FraGag/byte_string")
(synopsis
"Wrapper types for outputting byte strings (b\"Hello\") using the Debug ({:?}) format.")
(description
"Wrapper types for outputting byte strings (b\"Hello\") using the Debug ({:?}) format.")
(license (list license:expat license:asl2.0))))
(define-public rust-bloomfilter-1
(package
(name "rust-bloomfilter")
(version "1.0.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "bloomfilter" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1d352wzl3pwpwxixjh8b8v4sqaglgkzp0rfv1q068c8piddfizqw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
;; TODO update to 0.6
(("rust-bit-vec" ,rust-bit-vec-0.5)
("rust-rand" ,rust-rand-0.8)
("rust-siphasher" ,rust-siphasher-0.3))))
(home-page
"https://github.com/jedisct1/rust-bloom-filter")
(synopsis "Bloom filter implementation")
(description "Bloom filter implementation")
(license license:isc)))
(define-public rust-shadowsocks-crypto-0.2
(package
(name "rust-shadowsocks-crypto")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "shadowsocks-crypto" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0l42dagy8gkwasr5ras4yiy1h9dp6f461pichqmzf7wsl97m1axx"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-crypto2" ,rust-crypto2-0.1)
("rust-rand" ,rust-rand-0.8)
("rust-ring" ,rust-ring-0.16))
#:cargo-development-inputs
(("rust-hex" ,rust-hex-0.4))))
(home-page
"https://github.com/shadowsocks/shadowsocks-crypto")
(synopsis "Shadowsocks Crypto")
(description "Shadowsocks Crypto")
(license license:expat)))
(define-public rust-shadowsocks-1
(package
(name "rust-shadowsocks")
(version "1.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "shadowsocks" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1gsah34zrznl3b4za6f09vqzmzsw57nlwil3351hcfvqm8mazw8c"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arc-swap" ,rust-arc-swap-1)
("rust-async-trait" ,rust-async-trait-0.1)
("rust-base64" ,rust-base64-0.13)
("rust-bloomfilter" ,rust-bloomfilter-1)
("rust-byte-string" ,rust-byte-string-1)
("rust-bytes" ,rust-bytes-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-futures" ,rust-futures-0.3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-mio" ,rust-mio-0.7)
("rust-nix" ,rust-nix-0.20)
("rust-notify" ,rust-notify-5)
("rust-pin-project" ,rust-pin-project-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-urlencoded"
,rust-serde-urlencoded-0.7)
("rust-shadowsocks-crypto"
,rust-shadowsocks-crypto-0.2)
;; TODO update rust-socket2-0.3 to 0.4
("rust-socket2" rust-socket2-0.3 #;,rust-socket2-0.4)
("rust-spin" ,rust-spin-0.9)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1)
("rust-trust-dns-resolver"
,rust-trust-dns-resolver-0.20)
("rust-url" ,rust-url-2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.8))))
(home-page
"https://github.com/shadowsocks/shadowsocks-rust")
(synopsis
"shadowsocks is a fast tunnel proxy that helps you bypass firewalls.")
(description
"shadowsocks is a fast tunnel proxy that helps you bypass firewalls.")
(license license:expat)))
rust-shadowsocks-1
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-03-28 10:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-06 9:59 Packaging mecqor labi
2021-03-06 14:14 ` Packaging Joshua Branson
2021-03-06 18:46 ` Packaging Leo Famulari
2021-03-06 14:40 ` Packaging Tobias Geerinckx-Rice
-- strict thread matches above, loose matches on Subject: below --
2021-03-27 7:37 Packaging mecqor labi
2021-03-27 14:53 ` Packaging Maxime Devos
[not found] ` <CAGxZdwJ1=X8+JP5WetApL4p_6ACDhgFje7SO7wOwLgO_BVe0VA@mail.gmail.com>
2021-03-28 10:43 ` Packaging Maxime Devos
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).