2015-11-14 21:32:51 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "heatseeker-${version}";
|
2016-04-20 11:40:59 +02:00
|
|
|
version = "1.4.0";
|
2015-11-14 21:32:51 +01:00
|
|
|
|
2016-04-20 11:40:59 +02:00
|
|
|
depsSha256 = "1acimdkl6ra9jlyiydzzd6ccdygr5is2xf9gw8i45xzh0xnsq226";
|
2015-11-14 21:32:51 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rschmitt";
|
|
|
|
repo = "heatseeker";
|
|
|
|
rev = "v${version}";
|
2016-04-20 11:40:59 +02:00
|
|
|
sha256 = "1v2p6l4bdmvn9jggb12p0j5ajjvnbcdjsiavlcqiijz2w8wcdgs8";
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
2016-04-20 11:40:59 +02: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
|
|
|
|
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 ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.linux;
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
}
|