Merge pull request #138552 from figsoda/cargo-llvm-lines

cargo-llvm-lines: init at 0.4.11
This commit is contained in:
figsoda 2021-09-19 19:55:07 -04:00 committed by GitHub
commit a23c4520a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-llvm-lines";
version = "0.4.11";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "1p1agxsarkhw1mlqxawb2pj0fvsdyvi1rpp11p2k7fm341z1j71p";
};
cargoSha256 = "1b5py9md3lkqjyn9jkl6bdynfri0yvqvrfj2frbps0hqbxiv30jl";
meta = with lib; {
description = "Count the number of lines of LLVM IR across all instantiations of a generic function";
homepage = "https://github.com/dtolnay/cargo-llvm-lines";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -12369,6 +12369,7 @@ with pkgs;
cargo-kcov = callPackage ../tools/package-management/cargo-kcov { };
cargo-graph = callPackage ../tools/package-management/cargo-graph { };
cargo-license = callPackage ../tools/package-management/cargo-license { };
cargo-llvm-lines = callPackage ../development/tools/rust/cargo-llvm-lines { };
cargo-outdated = callPackage ../tools/package-management/cargo-outdated {};
cargo-release = callPackage ../tools/package-management/cargo-release {
inherit (darwin.apple_sdk.frameworks) Security;