nixpkgs/pkgs/development/tools/rust/cargo-asm/default.nix
Daniël de Kok 912e7abd69 cargo-asm: 0.1.16 -> 0.1.17
This version has some improvements across the board, such as improved
demangling of LLVM-IR.
2019-05-05 17:24:17 +02:00

30 lines
872 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
name = "cargo-asm-${version}";
version = "0.1.17";
src = fetchFromGitHub {
owner = "gnzlbg";
repo = "cargo-asm";
rev = "7f69a17e9c36dfe1f0d7080d7974c72ecc87a145";
sha256 = "0zn5p95hsmhvk2slc9hakrpvim6l4zbpgkks2x64ndwyfmzyykws";
};
cargoSha256 = "1k9mc29y4487ssf5whvr8xig7j4jh0rpcrhclp6siw8xamygijdm";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# Test checks against machine code output, which fails with some
# LLVM/compiler versions.
doCheck = false;
meta = with stdenv.lib; {
description = "Display the assembly or LLVM-IR generated for Rust source code";
homepage = https://github.com/gnzlbg/cargo-asm;
license = licenses.mit;
maintainers = [ maintainers.danieldk ];
platforms = platforms.all;
};
}