nixpkgs-suyu/pkgs/tools/misc/heatseeker/default.nix

28 lines
753 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "heatseeker";
version = "1.7.1";
src = fetchFromGitHub {
owner = "rschmitt";
repo = "heatseeker";
rev = "v${version}";
sha256 = "1x7mdyf1m17s55f6yjdr1j510kb7a8f3zkd7lb2kzdc7nd3vgaxg";
};
2016-04-20 11:40:59 +02:00
cargoSha256 = "0jnlcm7v29m4nc318qgf7r7jvs80s7n04fw83imm506vwr9rxbx9";
# 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 = licenses.mit;
maintainers = [ maintainers.michaelpj ];
platforms = platforms.unix;
};
}