python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / me / measureme / package.nix
blob4a0e426d3f6fe1b8156c2f5d4da9437ae85d0f68
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "measureme";
9   version = "12.0.0";
11   src = fetchFromGitHub {
12     owner = "rust-lang";
13     repo = "measureme";
14     rev = version;
15     hash = "sha256-Zgl8iyBDVwqZnbfqC06DMuo0S/hV6pl812hkiovmS+I=";
16   };
18   cargoLock.lockFile = ./Cargo.lock;
20   postPatch = ''
21     ln -s ${./Cargo.lock} Cargo.lock
22   '';
24   meta = with lib; {
25     description = "Support crate for rustc's self-profiling feature";
26     homepage = "https://github.com/rust-lang/measureme";
27     license = licenses.asl20;
28     maintainers = [ maintainers.t4ccer ];
29   };