1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-rim2ndXjoqIn5P60D5+FFuq0CDAOf29xCJ7rfemMzVU=";
15 substituteInPlace mcfly.bash --replace '$(command which mcfly)' '${placeholder "out"}/bin/mcfly'
16 substituteInPlace mcfly.zsh --replace '$(command which mcfly)' '${placeholder "out"}/bin/mcfly'
17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly'
20 cargoSha256 = "sha256-W1SPunH4fgam1JDI+JnLoAKCwx1RLY2JotNSyZAQoSY=";
23 homepage = "https://github.com/cantino/mcfly";
24 description = "An upgraded ctrl-r for Bash whose history results make sense for what you're working on right now";
25 changelog = "https://github.com/cantino/mcfly/raw/v${version}/CHANGELOG.txt";
26 license = licenses.mit;
27 maintainers = [ maintainers.melkor333 ];