depot/third_party/nixpkgs/pkgs/by-name/tw/twiggy/package.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

23 lines
560 B
Nix

{ lib
, fetchCrate
, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "twiggy";
version = "0.7.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-NbtS7A5Zl8634Q3xyjVzNraNszjt1uIXqmctArfnqkk=";
};
cargoHash = "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 ];
};
}