mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #138552 from figsoda/cargo-llvm-lines
cargo-llvm-lines: init at 0.4.11
This commit is contained in:
commit
a23c4520a0
2 changed files with 23 additions and 0 deletions
22
pkgs/development/tools/rust/cargo-llvm-lines/default.nix
Normal file
22
pkgs/development/tools/rust/cargo-llvm-lines/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue