2015-11-14 21:32:51 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
2020-03-07 21:22:11 +01:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "heatseeker";
|
2020-03-07 21:22:11 +01:00
|
|
|
version = "1.7.1";
|
2015-11-14 21:32:51 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rschmitt";
|
|
|
|
repo = "heatseeker";
|
|
|
|
rev = "v${version}";
|
2020-03-07 21:22:11 +01:00
|
|
|
sha256 = "1x7mdyf1m17s55f6yjdr1j510kb7a8f3zkd7lb2kzdc7nd3vgaxg";
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
2016-04-20 11:40:59 +02:00
|
|
|
|
2020-03-07 21:22:11 +01:00
|
|
|
cargoSha256 = "0jnlcm7v29m4nc318qgf7r7jvs80s7n04fw83imm506vwr9rxbx9";
|
2017-03-22 02:17:22 +01:00
|
|
|
|
2015-11-14 21:32:51 +01:00
|
|
|
# some tests require a tty, this variable turns them off for Travis CI,
|
|
|
|
# which we can also make use of
|
2017-03-22 02:17:22 +01:00
|
|
|
TRAVIS = "true";
|
2015-11-14 21:32:51 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A general-purpose fuzzy selector";
|
2020-03-07 21:22:11 +01:00
|
|
|
homepage = "https://github.com/rschmitt/heatseeker";
|
2017-03-22 02:17:22 +01:00
|
|
|
license = licenses.mit;
|
2015-11-14 21:32:51 +01:00
|
|
|
maintainers = [ maintainers.michaelpj ];
|
2019-02-17 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
}
|