biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / rust / cargo-llvm-lines / default.nix
blobf3fa51fb21b09a96c4f2bee701842efb11a67028
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "cargo-llvm-lines";
5   version = "0.4.37";
7   src = fetchFromGitHub {
8     owner = "dtolnay";
9     repo = pname;
10     rev = version;
11     hash = "sha256-9l6WkPVcc1BTRjmHa3+2Y1buLdHC5VIvpGys0fDwldY=";
12   };
14   cargoHash = "sha256-MbjV3O9yDC8GHWdhWh4/sO+QfAd3kw3K5wLkZ8OlXIU=";
16   meta = with lib; {
17     description = "Count the number of lines of LLVM IR across all instantiations of a generic function";
18     mainProgram = "cargo-llvm-lines";
19     homepage = "https://github.com/dtolnay/cargo-llvm-lines";
20     changelog = "https://github.com/dtolnay/cargo-llvm-lines/releases/tag/${src.rev}";
21     license = with licenses; [ asl20 /* or */ mit ];
22     maintainers = with maintainers; [ figsoda matthiasbeyer ];
23   };