b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
23 lines
757 B
Nix
23 lines
757 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-llvm-lines";
|
|
version = "0.4.36";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dtolnay";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-kj5dsZWf1dp6NG9AIj5GdRoXIb6J3bSXnJNNEVAKnaM=";
|
|
};
|
|
|
|
cargoHash = "sha256-iZtT1ywFIgPhBnW4losd1J+WHUtzgW47657vGi6mI7I=";
|
|
|
|
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";
|
|
changelog = "https://github.com/dtolnay/cargo-llvm-lines/releases/tag/${src.rev}";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
|
};
|
|
}
|