about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-10-23 23:01:08 -0400
committerGitHub <noreply@github.com>2022-10-23 23:01:08 -0400
commit3d13fe2b8cf4efac042475e94441070136a052e2 (patch)
tree25826603824a1227e4eb20246137b2825943d312 /pkgs
parent956e35d0b10cd48df91e1b4e2c928efe178335ed (diff)
parentaf70d7b5c9f2cb433629f1361e16749948d74566 (diff)
Merge pull request #197468 from oxalica/pkg/cargo-show-asm
cargo-show-asm: 0.1.24 -> 0.2.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/rust/cargo-show-asm/default.nix20
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) \