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

30 lines
769 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
with rustPlatform;
buildRustPackage rec {
name = "heatseeker-${version}";
version = "1.5.1";
src = fetchFromGitHub {
owner = "rschmitt";
repo = "heatseeker";
rev = "v${version}";
sha256 = "1fcrbjwnhcz71i70ppy0rcgk5crwwmbkm9nrk1kapvks33pv0az7";
};
2016-04-20 10:40:59 +01:00
cargoSha256 = "0kqkzjd90v19qvl3iv1vv2fi8h0z75b0yn0z5jq8w4m94fvh0p95";
# 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.linux;
};
}