summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ev/eva/package.nix
blob: 87d70a0370bf947f725bb1fa2359a97b1b8406ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  rustPlatform,
  fetchCrate,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "eva";
  version = "0.3.1";

  src = fetchCrate {
    inherit (finalAttrs) pname version;
    hash = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec=";
  };

  cargoHash = "sha256-7vhhm2qAaSwBjbYfDER9bnC3OOOun4brn7Ft4mO6jfI=";

  meta = {
    description = "Calculator REPL, similar to bc";
    homepage = "https://github.com/oppiliappan/eva";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      ma27
    ];
    mainProgram = "eva";
  };
})