depot/third_party/nixpkgs/pkgs/by-name/fr/french-numbers/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

26 lines
651 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "french-numbers";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-6mcqT0RZddHlzjyZzx0JGTfCRcQ2UQ3Qlmk0VVNzsnI=";
};
cargoHash = "sha256-YmG+4837j7g3iK/nsP2P+WVcOqaPxKiS0jhcxkpEGXw=";
cargoBuildFlags = [ "--features=cli" ];
meta = with lib; {
description = "Represent numbers in French language";
homepage = "https://github.com/evenfurther/french-numbers";
license = with licenses; [ asl20 /* or */ mit ];
mainProgram = "french-numbers";
maintainers = with maintainers; [ samueltardieu ];
};
}