mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
24 lines
757 B
Nix
24 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 ];
|
|
};
|
|
}
|