* [bug#49142] [PATCH 0/1] Add pcl (Guix packaging meetup)
@ 2021-06-20 17:44 David Dashyan
2021-06-20 17:50 ` [bug#49142] [PATCH 1/1] gnu: Add pcl David Dashyan
0 siblings, 1 reply; 3+ messages in thread
From: David Dashyan @ 2021-06-20 17:44 UTC (permalink / raw)
To: 49142; +Cc: David Dashyan, packaging-guix
As part of crystal lang bootstrapping effort I packaged one of dependencies:
Portable Coroutine Library (PCL) during last LibreMiami guix packaging meetup.
This was literally the easiet package of this kind I ever did :)
My little patch below. Not sure wheter I chose a good place for the package.
David Dashyan (1):
gnu: Add pcl.
gnu/packages/c.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
base-commit: 6086e6ed1a038793e358becddded50d97593f691
--
2.31.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#49142] [PATCH 1/1] gnu: Add pcl.
2021-06-20 17:44 [bug#49142] [PATCH 0/1] Add pcl (Guix packaging meetup) David Dashyan
@ 2021-06-20 17:50 ` David Dashyan
2021-06-29 7:16 ` bug#49142: " Efraim Flashner
0 siblings, 1 reply; 3+ messages in thread
From: David Dashyan @ 2021-06-20 17:50 UTC (permalink / raw)
To: 49142; +Cc: David Dashyan, packaging-guix
* gnu/packages/c.scm (pcl): New variable.
---
gnu/packages/c.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 931eb2bf3f..a17bf22f04 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020, 2021 Greg Hogan <code@greghogan.com>
+;;; Copyright © 2021 David Dashyan <mail@davie.li>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -693,3 +694,22 @@ event-driven, asynchronous network application protocols.")
cryptographic primitives for the @acronym{AWS,Amazon Web Services} SDK.")
(home-page "https://github.com/awslabs/aws-c-cal")
(license license:asl2.0)))
+
+(define-public pcl
+ (package
+ (name "pcl")
+ (version "1.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.xmailserver.org/pcl-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06ly65rq4iyj2p4704i215c8y4rgspwl8sxfaifmf4ahfr30bcz7"))))
+ (build-system gnu-build-system)
+ (home-page "http://www.xmailserver.org/libpcl.html")
+ (synopsis "Portable Coroutine Library")
+ (description "The Portable Coroutine Library (PCL) implements the
+low level functionality for coroutines.")
+ (license license:gpl2+)))
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#49142: [PATCH 1/1] gnu: Add pcl.
2021-06-20 17:50 ` [bug#49142] [PATCH 1/1] gnu: Add pcl David Dashyan
@ 2021-06-29 7:16 ` Efraim Flashner
0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2021-06-29 7:16 UTC (permalink / raw)
To: David Dashyan; +Cc: 49142-done, packaging-guix
[-- Attachment #1: Type: text/plain, Size: 1959 bytes --]
Looks good. I made one change before pushing it.
On Sun, Jun 20, 2021 at 08:50:22PM +0300, David Dashyan wrote:
> * gnu/packages/c.scm (pcl): New variable.
> ---
> gnu/packages/c.scm | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
> index 931eb2bf3f..a17bf22f04 100644
> --- a/gnu/packages/c.scm
> +++ b/gnu/packages/c.scm
> @@ -11,6 +11,7 @@
> ;;; Copyright © 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
> ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> ;;; Copyright © 2020, 2021 Greg Hogan <code@greghogan.com>
> +;;; Copyright © 2021 David Dashyan <mail@davie.li>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -693,3 +694,22 @@ event-driven, asynchronous network application protocols.")
> cryptographic primitives for the @acronym{AWS,Amazon Web Services} SDK.")
> (home-page "https://github.com/awslabs/aws-c-cal")
> (license license:asl2.0)))
> +
> +(define-public pcl
> + (package
> + (name "pcl")
> + (version "1.12")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://www.xmailserver.org/pcl-" version ".tar.gz"))
> + (sha256
> + (base32
> + "06ly65rq4iyj2p4704i215c8y4rgspwl8sxfaifmf4ahfr30bcz7"))))
> + (build-system gnu-build-system)
> + (home-page "http://www.xmailserver.org/libpcl.html")
> + (synopsis "Portable Coroutine Library")
> + (description "The Portable Coroutine Library (PCL) implements the
@acronym{PCL, Portable Coroutine Library}
> +low level functionality for coroutines.")
> + (license license:gpl2+)))
> --
> 2.31.1
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-29 7:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-20 17:44 [bug#49142] [PATCH 0/1] Add pcl (Guix packaging meetup) David Dashyan
2021-06-20 17:50 ` [bug#49142] [PATCH 1/1] gnu: Add pcl David Dashyan
2021-06-29 7:16 ` bug#49142: " Efraim Flashner
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).