about summary refs log tree commit diff
path: root/pkgs/tools/misc/heatseeker
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-11-14 12:32:51 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-11-14 12:32:51 -0800
commit6602f49495c94e8533c8b482698bcf570a8d8933 (patch)
tree07065424002052ed9e726b4feb689697845ff4a7 /pkgs/tools/misc/heatseeker
parente4feccce818416c39c8e86e6f9ac01674ad98c88 (diff)
downloadnixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar.gz
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar.bz2
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar.lz
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar.xz
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.tar.zst
nixlib-6602f49495c94e8533c8b482698bcf570a8d8933.zip
Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840dad05cd1728481045466811ae8ae8281.

This reverts the fallout from reverting the major changes.
Diffstat (limited to 'pkgs/tools/misc/heatseeker')
-rw-r--r--pkgs/tools/misc/heatseeker/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/heatseeker/default.nix b/pkgs/tools/misc/heatseeker/default.nix
new file mode 100644
index 000000000000..0d85554c347d
--- /dev/null
+++ b/pkgs/tools/misc/heatseeker/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, rustPlatform }:
+
+with rustPlatform;
+
+buildRustPackage rec {
+  name = "heatseeker-${version}";
+  version = "1.3.0";
+
+  depsSha256 = "03jap7myf85xgx9270sws8x57nl04a1wx8szrk9qx24s9vnnjcnh";
+
+  src = fetchFromGitHub {
+    owner = "rschmitt";
+    repo = "heatseeker";
+    rev = "v${version}";
+    sha256 = "1xdvwgmh9lwv82hv1qg82bjv2iplnvva6lzbg7dyhbszhv7rhkbl";
+  };
+  
+  # some tests require a tty, this variable turns them off for Travis CI,
+  # which we can also make use of
+  TRAVIS= "true";
+
+  meta = with stdenv.lib; {
+    description = "A general-purpose fuzzy selector";
+    homepage = https://github.com/rschmitt/heatseeker;
+    license = stdenv.lib.licenses.mit;
+    maintainers = [ maintainers.michaelpj ];
+  };
+}