mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
mcfly: 0.4.1 -> 0.5.0
This commit is contained in:
parent
8d01f0d48c
commit
6b8e30c2dc
1 changed files with 8 additions and 4 deletions
|
@ -2,21 +2,25 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mcfly";
|
||||
version = "0.4.1";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cantino";
|
||||
repo = "mcfly";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fgnhm0b1sd6n12fa2cwlb5b8q4jjm9lqik4lx3l2hv5pkp3dcmb";
|
||||
sha256 = "155x745jakfcpr6kmp24cy8xwdhv81jdfjjhd149bnw5ilg0z037";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
postInstall = ''
|
||||
substituteInPlace mcfly.bash --replace '$(which mcfly)' $out/bin/mcfly
|
||||
substituteInPlace mcfly.zsh --replace '$(which mcfly)' $out/bin/mcfly
|
||||
substituteInPlace mcfly.fish --replace '(which mcfly)' $out/bin/mcfly
|
||||
install -Dm644 -t $out/share/mcfly mcfly.bash
|
||||
install -Dm644 -t $out/share/mcfly mcfly.zsh
|
||||
install -Dm644 -t $out/share/mcfly mcfly.fish
|
||||
'';
|
||||
|
||||
cargoSha256 = "11vc4r3cx5amkrmh4hhc174bca02a87i7hfjb33adjvipphfm83f";
|
||||
cargoSha256 = "0y6sjbzg5qqqip9sc9ajyd5ra3n2wwvarj6nhpzjhh05kqz3qja4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/cantino/mcfly";
|
||||
|
|
Loading…
Reference in a new issue