From 3d4dcfbe3c92c1649c3fbe6461e2c4900544c6f6 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Thu, 13 Oct 2022 06:59:05 +0200 Subject: [PATCH] Initial commit --- .gitignore | 7 +++++++ .guix-channel | 5 +++++ packages/hello.scm | 22 ++++++++++++++++++++++ zz-README.org | 3 +++ 4 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 .guix-channel create mode 100644 packages/hello.scm create mode 100644 zz-README.org diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c9029c --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.go # Guile Objects + +# Temporary files +*.tmp # Generic +*~ # vim +.#* # emacs +\#*\# # emacs \ No newline at end of file diff --git a/.guix-channel b/.guix-channel new file mode 100644 index 0000000..24432ce --- /dev/null +++ b/.guix-channel @@ -0,0 +1,5 @@ +;; -*- mode: scheme; -*- + +(channel + (version 0) + (url "https://git.dotya.ml/kreyren/guix-hello")) diff --git a/packages/hello.scm b/packages/hello.scm new file mode 100644 index 0000000..49ddd47 --- /dev/null +++ b/packages/hello.scm @@ -0,0 +1,22 @@ +(define-module (hello packages hello) + #:use-module (guix) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) + #:select (gpl3+))) + +(define-public hello + (package + (name "hello") + (version "2.12.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/hello/hello-" version + ".tar.gz")) + (sha256 + (base32 + "086vqwk2wl8zfs47sq2xpjc9k066ilmb8z6dn0q6ymwjzlm196cd")))) + (build-system gnu-build-system) + (synopsis "Hello, GNU world: An example GNU package") + (description "Guess what GNU Hello prints!") + (home-page "http://www.gnu.org/software/hello/") + (license gpl3+))) diff --git a/zz-README.org b/zz-README.org new file mode 100644 index 0000000..944db72 --- /dev/null +++ b/zz-README.org @@ -0,0 +1,3 @@ +#+TITLE: guix-hello + +Template repository to easy new guix channel development