1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "eva";
9 version = "0.3.1";
10
11 src = fetchCrate {
12 inherit pname version;
13 hash = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec=";
14 };
15
16 cargoHash = "sha256-7vhhm2qAaSwBjbYfDER9bnC3OOOun4brn7Ft4mO6jfI=";
17
18 meta = with lib; {
19 description = "Calculator REPL, similar to bc";
20 homepage = "https://github.com/NerdyPepper/eva";
21 license = licenses.mit;
22 maintainers = with maintainers; [
23 ma27
24 figsoda
25 ];
26 mainProgram = "eva";
27 };
28}