nixpkgs/pkgs/tools/misc/shell-hist/default.nix
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00

23 lines
633 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage {
pname = "shell-hist";
version = "0.1.0";
src = fetchFromGitHub {
owner = "jamesmunns";
repo = "shell-hist";
rev = "158de8c3908b49530ecd76bf6e65c210f351ef82";
sha256 = "0kc128xnnp1d56if70vfv0w3qnwhljhbnvzwwb7hfm3x2m0vqrqf";
};
cargoSha256 = "1b2cfs03vlaz7jnr67ilgjfi7cm59izpcdi6pyvbzv8s46z2dysp";
meta = with lib; {
description = "Inspect your shell history";
homepage = "https://github.com/jamesmunns/shell-hist";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = [ maintainers.spacekookie ];
};
}