nixpkgs/pkgs/by-name/tw/twiggy/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

24 lines
564 B
Nix

{ 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/";
description = "Code size profiler for Wasm";
mainProgram = "twiggy";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ lucperkins ];
};
}