From 710667108827126daf36ced9118c3d4221dc4f7b Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 2 Feb 2019 11:21:18 +0100 Subject: gnu: Add emacs-google-c-style. * gnu/packages/emacs-xyz.scm (emacs-google-c-style): New variable. --- gnu/packages/emacs-xyz.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index feef248fbc..6d325a6637 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -18,7 +18,7 @@ ;;; Copyright © 2016, 2017, 2018 Alex Vong ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac ;;; Copyright © 2017 Christopher Baines -;;; Copyright © 2017, 2018 Mathieu Othacehe +;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe ;;; Copyright © 2017, 2018, 2019 Clément Lassieur ;;; Copyright © 2017 Vasile Dumitrascu ;;; Copyright © 2017, 2018 Kyle Meyer @@ -13061,3 +13061,25 @@ buffer and launches Magit from the status buffer for the project at point.") and black color themes for Emacs. The themes are intended to be used with GUI.") (license license:gpl3+))) + +(define-public emacs-google-c-style + (let ((commit "6271f3f473ceb3a7fef99388a3040903b1a145f1") + (revision "0")) + (package + (name "emacs-google-c-style") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/styleguide") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jghyyasdl15c4gaqaxmdn43am63k6bykn5ab83f1ahv9zi1krxk")))) + (build-system emacs-build-system) + (home-page "https://github.com/google/styleguide") + (synopsis "Emacs settings file for Google C/C++ style") + (description "@code{emacs-google-c-style} provides an Emacs settings +file for Google C and C++ style.") + (license license:gpl1+)))) -- cgit v1.2.3