2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, fetchCrate
|
|
|
|
, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "twiggy";
|
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-NbtS7A5Zl8634Q3xyjVzNraNszjt1uIXqmctArfnqkk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-94pfhVZ0CNMn+lCl5O+wOyE+D6fVXbH4NAPx92nMNbM=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://rustwasm.github.io/twiggy/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Code size profiler for Wasm";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "twiggy";
|
2022-08-12 12:06:08 +00:00
|
|
|
license = with licenses; [ asl20 mit ];
|
|
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
|
|
};
|
|
|
|
}
|