diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2017-12-10 00:05:31 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-11 17:14:36 +0100 |
commit | cdba3a84696a1fd6500b71a8e8c3389487f96a01 (patch) | |
tree | ba9a9f3cc49e565dbc46da4f6e5ea9a6b8cbc135 /gnu/packages/emacs.scm | |
parent | fbc60db895fb665d1c0a5281972f9894997ada91 (diff) |
gnu: Add emacs-string-inflection.
* gnu/packages/emacs.scm (emacs-string-inflection): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 6f4f8a7ec2..781a387a41 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2177,6 +2177,43 @@ evaluated in the browser, just like Emacs does with an inferior Lisp process in Lisp modes.") (license license:unlicense))) +(define-public emacs-string-inflection + (package + (name "emacs-string-inflection") + (version "1.0.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/akicho8/string-inflection") + (commit "a150e7bdda60b7824d3a936750ce23f73b0e4edd"))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1k0sm552iawi49v4zis6dbb81d1rzgky9v0dpv7nj31gnb7bmy7k")))) + (build-system emacs-build-system) + (native-inputs + `(("ert-runner" ,ert-runner))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda _ + (zero? (system* "ert-runner"))))))) + (home-page "https://github.com/akicho8/string-inflection") + (synopsis "Convert symbol names between different naming conventions") + (description + "This Emacs package provides convenient methods for manipulating the +naming style of a symbol. It supports different naming conventions such as: + +@enumerate +@item camel case +@item Pascal case +@item all upper case +@item lower case separated by underscore +@item etc... +@end enumerate\n") + (license license:gpl2+))) + (define-public emacs-stripe-buffer (package (name "emacs-stripe-buffer") |