branch: externals/srht commit cf96533faff815eb77bdda7e17e21876f99a75c5 Author: Aleksandr Vityazev <avitya...@posteo.org> Commit: Aleksandr Vityazev <avitya...@posteo.org>
Add guix.scm. --- guix.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/guix.scm b/guix.scm new file mode 100644 index 0000000000..5c57789323 --- /dev/null +++ b/guix.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2022 Aleksandr Vityazev <avitya...@posteo.org> +;;; +;;; This file is NOT part of GNU Guix. +;;; +;;; This program is free software: you can redistribute it and/or modify +;;; it under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with this program. If not, see <http://www.gnu.org/licenses/>. + +;;; Comment: guix build -f guix.scm + +(use-modules (guix gexp) + (guix packages) + (guix git-download) + (guix build-system emacs) + ((guix licenses) #:prefix license:) + (gnu packages emacs)) + +(define-public emacs-plz + (let ((commit "1d3efc036c9fdb7242499575e4d6bdcc928b0539") + (revision "2") + (version "0.1-pre")) + (package + (name "emacs-plz") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphapapa/plz.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vfa4igsvgspfx6qqzgdxb86hgbkcdr8hf63hr98yqfh7dngqjnz")))) + (build-system emacs-build-system) + (home-page "https://github.com/alphapapa/plz.el") + (synopsis "GNU Emacs HTTP library") + (description #f) + (license license:gpl3+)))) + +(define-public emacs-srht + (let ((commit "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") + (revision "0") + (version "0.1.0")) + (package + (name "emacs-srht") + (version (git-version version revision commit)) + (source (local-file "" #:recursive? #t)) + (build-system emacs-build-system) + (arguments (list #:emacs emacs-next)) + (propagated-inputs (list emacs-plz)) + (home-page "https://git.sr.ht/~akagi/srht.el") + (synopsis "Interact with sourcehut") + (description #f) + (license license:gpl3+)))) +emacs-srht