9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-09IKAM1ha40CvF5hdQIlUab7EBBFourC70LAagrs5+4=";
20 cargoHash = "sha256-cBFczgvLja6upuPnXphG2d9Rf1ZpNAVh16NHAHfXxHg=";
22 nativeBuildInputs = [ installShellFiles ];
24 nativeCheckInputs = [ perl ];
26 # tests are locale sensitive
28 export LANG=${if stdenv.hostPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8"}
32 installManPage man/teip.1
33 installShellCompletion \
34 --bash completion/bash/teip \
35 --fish completion/fish/teip.fish \
36 --zsh completion/zsh/_teip
40 description = "Tool to bypass a partial range of standard input to any command";
42 homepage = "https://github.com/greymd/teip";
43 changelog = "https://github.com/greymd/teip/releases/tag/v${version}";
44 license = licenses.mit;
45 maintainers = with maintainers; [ figsoda ];