f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
23 lines
562 B
Nix
23 lines
562 B
Nix
{ lib
|
|
, fetchCrate
|
|
, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "twiggy";
|
|
version = "0.7.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-NbtS7A5Zl8634Q3xyjVzNraNszjt1uIXqmctArfnqkk=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-94pfhVZ0CNMn+lCl5O+wOyE+D6fVXbH4NAPx92nMNbM=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://rustwasm.github.io/twiggy/";
|
|
description = "Code size profiler for Wasm";
|
|
mainProgram = "twiggy";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
};
|
|
}
|