diff --git a/.guix/modules/guile-equinix.scm b/.guix/modules/guile-equinix.scm new file mode 100644 index 0000000..20a5262 --- /dev/null +++ b/.guix/modules/guile-equinix.scm @@ -0,0 +1,26 @@ +(define-module (guile-equinix-metal-package) + #:use-module (gnu packages guile) + #:use-module (gnu packages pkg-config) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system guile) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public guile-equinix-metal + (package + (name "guile-equinix-metal") + (version "0.0.3") + (source (local-file "." "guile-equinix-metal" + #:select? (git-predicate + (dirname (assoc-ref (current-source-location) 'filename))) + #:recursive? #t)) + (build-system guile-build-system) + (native-inputs (list pkg-config guile-3.0)) + (inputs (list guile-3.0 guile-json-4)) + (synopsis "Equinix Metal SDK") + (home-page "https://git.fixergrid.net/adam/equinix-scm") + (description "Equinix-scm supports token exchange and talking to Metal API") + (license license:gpl3+))) + +guile-equinix-metal diff --git a/guix.scm b/guix.scm deleted file mode 100644 index 511964e..0000000 --- a/guix.scm +++ /dev/null @@ -1,25 +0,0 @@ -(use-modules (gnu packages guile) - (gnu packages pkg-config) - (guix gexp) - (guix packages) - (guix git-download) - (guix build-system guile) - ((guix licenses) #:prefix license:)) - -(define-public guile-equinix-metal - (package - (name "guile-equinix-metal") - (version "0.0.1") - (source (local-file "." "guile-equinix-metal" - #:select? (git-predicate - (dirname (assoc-ref (current-source-location) 'filename))) - #:recursive? #t)) - (build-system guile-build-system) - (native-inputs (list pkg-config guile-3.0)) - (inputs (list guile-3.0 guile-json-4)) - (synopsis "Equinix Metal SDK") - (home-page "https://git.fixergrid.net/adam/equinix-scm") - (description "Equinix-scm supports token exchange and talking to Metal API") - (license license:gpl3+))) - -guile-equinix-metal diff --git a/guix.scm b/guix.scm new file mode 120000 index 0000000..31310b8 --- /dev/null +++ b/guix.scm @@ -0,0 +1 @@ +.guix/modules/guile-equinix.scm \ No newline at end of file