aconchillo / guile-oauth

OAuth module for Guile
GNU General Public License v3.0
19 stars 5 forks source link

Why not available as a Guix package? #4

Open mbcladwell opened 2 years ago

mbcladwell commented 2 years ago

Hi Alex, Why is guile-oauth not available as a guix package? If only because you don't have time to write the recipe, I pasted one below. Though the recipe below will successfully install your archive, I have not yet tested. If you know there are issues please let me know. I have read of issues with guix and SSL/TLS. Note that the 'source' below will have t be modified, depending on how you decide to install. I will now try to work with it. Thanks Mortimer

(define-module (guile-oauth)

:use-module ((guix licenses) #:prefix license:)

:use-module (gnu packages autotools)

:use-module (gnu packages guile)

:use-module (gnu packages bash)

:use-module (gnu packages pkg-config)

:use-module (gnu packages texinfo)

:use-module (gnu packages linux)

:use-module (guix packages)

:use-module (guix download)

:use-module (guix git-dowload)

:use-module (guix utils)

:use-module (gnu packages)

:use-module (gnu packages tls)

:use-module (guix packages)

:use-module (guix download)

:use-module (guix modules)

#:use-module (guix derivations)

:use-module (guix store)

:use-module (guix git-download)

:use-module (guix hg-download)

:use-module (guix build-system gnu)

:use-module (guix utils)

:use-module (gnu packages gnupg)

:use-module (gnu packages tls)

)

(define-public guile-oauth (package (name "guile-oauth") (version "1.1.0") (source (origin (method url-fetch) (uri (string-append "file:///home/mbc/projects/oauth/guile-oauth-1.1.0.tar.gz"))
(sha256 (base32 "1ly1nvwyk7n0i8f2rpx78lx4jvfk5z9g4ng52wb1q56p96w21qz7"))))
(properties ((upstream-name . "guile-oauth"))) (build-system gnu-build-system) (inputs (("guile" ,guile-3.0))) (propagated-inputs ( ("guile-json" ,guile-json-3) ("guile-gcrypt" ,guile-gcrypt) ("gnutls" ,gnutls) )) (native-inputs (("bash" ,bash) ;for the source' builtin ("pkgconfig" ,pkg-config) ("autoconf" ,autoconf) ("automake" ,automake) ("texinfo" ,texinfo) ("util-linux" ,util-linux))) ;for thescript' command (home-page "https://github.com/aconchillo/guile-oauth") (synopsis "guile-oauth is an OAuth client module for Guile.") (description "guile-oauth is an OAuth client module for Guile.") (license license:gpl3)))

guile-oauth

aconchillo commented 2 years ago

Hi @mbcladwell ! The past couple of years I have only been using macOS, but I'm back at Linux now. I haven't used Guix at all lately so that's why there's no guix package. But I'll be happy to try and add yours!