2015-11-14 20:32:51 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "heatseeker-${version}";
|
2017-03-22 01:17:22 +00:00
|
|
|
version = "1.5.1";
|
2015-11-14 20:32:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rschmitt";
|
|
|
|
repo = "heatseeker";
|
|
|
|
rev = "v${version}";
|
2017-03-22 01:17:22 +00:00
|
|
|
sha256 = "1fcrbjwnhcz71i70ppy0rcgk5crwwmbkm9nrk1kapvks33pv0az7";
|
2015-11-14 20:32:51 +00:00
|
|
|
};
|
2016-04-20 09:40:59 +00:00
|
|
|
|
2017-08-05 14:38:48 +00:00
|
|
|
cargoSha256 = "0kqkzjd90v19qvl3iv1vv2fi8h0z75b0yn0z5jq8w4m94fvh0p95";
|
2017-03-22 01:17:22 +00:00
|
|
|
|
2015-11-14 20:32:51 +00:00
|
|
|
# some tests require a tty, this variable turns them off for Travis CI,
|
|
|
|
# which we can also make use of
|
2017-03-22 01:17:22 +00:00
|
|
|
TRAVIS = "true";
|
2015-11-14 20:32:51 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A general-purpose fuzzy selector";
|
|
|
|
homepage = https://github.com/rschmitt/heatseeker;
|
2017-03-22 01:17:22 +00:00
|
|
|
license = licenses.mit;
|
2015-11-14 20:32:51 +00:00
|
|
|
maintainers = [ maintainers.michaelpj ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.linux;
|
2015-11-14 20:32:51 +00:00
|
|
|
};
|
|
|
|
}
|