about summary refs log tree commit diff
path: root/pkgs/tools/misc/heatseeker
diff options
context:
space:
mode:
authorMichael Peyton Jones <michaelpj@gmail.com>2015-09-25 15:58:25 +0100
committerMichael Peyton Jones <michaelpj@gmail.com>2015-09-25 16:27:43 +0100
commitef8e002bf0a6d170ea677c2fee76f3f01a53db54 (patch)
treea42a43440ca2e249a76690de299e3c465dd559e9 /pkgs/tools/misc/heatseeker
parent6b096582df2b058166dce2a49c26b4a2802abece (diff)
heatseeker: init at 1.3.0
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 0000000000000..0d85554c347d2
--- /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 ];
+  };
+}