From 6602f49495c94e8533c8b482698bcf570a8d8933 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 14 Nov 2015 12:32:51 -0800 Subject: 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. --- pkgs/tools/misc/heatseeker/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/tools/misc/heatseeker/default.nix (limited to 'pkgs/tools/misc/heatseeker') 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 ]; + }; +} -- cgit 1.4.1