nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 666 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchCrate, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "french-numbers"; 9 version = "1.2.0"; 10 11 src = fetchCrate { 12 inherit pname version; 13 hash = "sha256-6mcqT0RZddHlzjyZzx0JGTfCRcQ2UQ3Qlmk0VVNzsnI="; 14 }; 15 16 cargoHash = "sha256-HtgJsvl+BkvTapGxi7B/0QMEUolOw4gGndj4/9w7Z4Y="; 17 18 cargoBuildFlags = [ "--features=cli" ]; 19 20 meta = { 21 description = "Represent numbers in French language"; 22 homepage = "https://github.com/evenfurther/french-numbers"; 23 license = with lib.licenses; [ 24 asl20 # or 25 mit 26 ]; 27 mainProgram = "french-numbers"; 28 maintainers = with lib.maintainers; [ samueltardieu ]; 29 }; 30}