summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclellsolomon <44933387+clellsolomon@users.noreply.github.com>2019-03-05 16:17:48 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-03-05 17:17:48 -0600
commitb72715ed7ca8a7e0eafdb702e96cecfe4324ab63 (patch)
tree432042fe111094298e03f98fa4d0b5533028c236
parent5758e49c80157f47517f8f593a98c9ce20cda93b (diff)
downloadspack-b72715ed7ca8a7e0eafdb702e96cecfe4324ab63.tar.gz
spack-b72715ed7ca8a7e0eafdb702e96cecfe4324ab63.tar.bz2
spack-b72715ed7ca8a7e0eafdb702e96cecfe4324ab63.tar.xz
spack-b72715ed7ca8a7e0eafdb702e96cecfe4324ab63.zip
Add fzf utility package (#10778)
* Add fzf utility package * Fix "style checks" errors - var/spack/repos/builtin/packages/fzf/package.py:32: [E226] missing whitespace around arithmetic operator
-rw-r--r--var/spack/repos/builtin/packages/fzf/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fzf/package.py b/var/spack/repos/builtin/packages/fzf/package.py
new file mode 100644
index 0000000000..f9d3a92781
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fzf/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Fzf(MakefilePackage):
+ """fzf is a general-purpose command-line fuzzy finder."""
+
+ homepage = "https://github.com/junegunn/fzf"
+ url = "https://github.com/junegunn/fzf/archive/0.17.5.tar.gz"
+
+ version('0.17.5', sha256='de3b39758e01b19bbc04ee0d5107e14052d3a32ce8f40d4a63d0ed311394f7ee')
+ version('0.17.4', sha256='a4b009638266b116f422d159cd1e09df64112e6ae3490964db2cd46636981ff0')
+ version('0.17.3', sha256='e843904417adf926613431e4403fded24fade56269446e92aac6ff1db86af81e')
+ version('0.17.1', sha256='9c881e55780c0f56b5a30b87df756634d853bfd3938e7e53cb2df6ed63aa84a7')
+ version('0.17.0-2', sha256='a084415231b452b92a6b8aa87a69c0c02ee59bfe95774bf0d4fcc9a6251ece20')
+ version('0.17.0', sha256='23569faf64cd6831c09aad7030c8b4bace0eb7a979c580b33cc4e4f9ff303e29')
+ version('0.16.11', sha256='e3067d4ad58d7be51eba9a35c06518cd7145c0cc297882796c7e40285f268a99')
+ version('0.16.10', sha256='a6b9d8abcba4239d30201cc7911e9c305a5cd750081ce5cd389f8e7425f4dc93')
+ version('0.16.9', sha256='dd9434576c68313481613a5bd52dbf623eee37a5c87f7bb66ca71ac8add5ff94')
+ version('0.16.8', sha256='daef99f67cff3dad261dbcf2aef995bb78b360bcc7098d7230cb11674e1ee1d4')
+
+ depends_on('go@1.11:')
+
+ def edit(self, spec, prefix):
+ mkdir(prefix.bin)
+
+ makefile = FileFilter('Makefile')
+ makefile.filter('bin/fzf', prefix.bin + "/fzf")