062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
29 lines
768 B
Nix
29 lines
768 B
Nix
{ 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";
|
|
};
|
|
|
|
cargoSha256 = "0m3sxbz1iii31s30cnv1970i1mwfhl6gm19k8wv0n7zji30ayx07";
|
|
|
|
# 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;
|
|
};
|
|
}
|