diff options
author | oxalica <oxalicc@pm.me> | 2022-10-24 09:22:10 +0800 |
---|---|---|
committer | oxalica <oxalicc@pm.me> | 2022-10-24 09:22:10 +0800 |
commit | af70d7b5c9f2cb433629f1361e16749948d74566 (patch) | |
tree | f48811133d9ed98bc262f9cf8d67ee09f69f6aaa /pkgs | |
parent | 1e684b371cf05300bc2b432f958f285855bac8fb (diff) |
cargo-show-asm: 0.1.24 -> 0.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/rust/cargo-show-asm/default.nix | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/pkgs/development/tools/rust/cargo-show-asm/default.nix b/pkgs/development/tools/rust/cargo-show-asm/default.nix index e67a6a696d694..243c23ee52d3a 100644 --- a/pkgs/development/tools/rust/cargo-show-asm/default.nix +++ b/pkgs/development/tools/rust/cargo-show-asm/default.nix @@ -1,43 +1,29 @@ { lib , rustPlatform , fetchFromGitHub -, curl , installShellFiles -, pkg-config -, openssl , stdenv -, darwin , nix-update-script , callPackage }: rustPlatform.buildRustPackage rec { pname = "cargo-asm"; - version = "0.1.24"; + version = "0.2.0"; src = fetchFromGitHub { owner = "pacak"; repo = "cargo-show-asm"; rev = version; - hash = "sha256-ahkKUtg5M88qddzEwYxPecDtBofGfPVxKuYKgmsbWYc="; + hash = "sha256-qsr28zuvu+i7P/MpwhDKQFFXTyFFo+vWrjBrpD1V8PY="; }; - cargoHash = "sha256-S7OpHNjiTfQg7aPmHEx6Q/OV5QA9pB29F3MTIeiLAXg="; + cargoHash = "sha256-IL+BB08uZr5fm05ITxpm66jTb+pYYlLKOwQ8uf5rKSs="; nativeBuildInputs = [ - curl.dev installShellFiles - pkg-config ]; - buildInputs = [ - curl - openssl - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ - CoreFoundation - SystemConfiguration - ]); - postInstall = '' installShellCompletion --cmd cargo-asm \ --bash <($out/bin/cargo-asm --bpaf-complete-style-bash) \ |