about summary refs log tree commit diff
path: root/pkgs/tools/misc/heatseeker/default.nix
blob: 20f199ae73f99896f1b313c655009ab16c6f92e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub, rustPlatform }:

with rustPlatform;

buildRustPackage rec {
  name = "heatseeker-${version}";
  version = "1.4.0";

  depsSha256 = "1acimdkl6ra9jlyiydzzd6ccdygr5is2xf9gw8i45xzh0xnsq226";

  src = fetchFromGitHub {
    owner = "rschmitt";
    repo = "heatseeker";
    rev = "v${version}";
    sha256 = "1v2p6l4bdmvn9jggb12p0j5ajjvnbcdjsiavlcqiijz2w8wcdgs8";
  };

  # 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 ];
    platforms = platforms.linux;
  };
}