summary refs log tree commit diff
path: root/pkgs/tools/misc/eva/default.nix
blob: 0efaf008d4855b57b9ac5917acd10d8446893d43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "eva";
  version = "0.2.5";

  cargoSha256 = "1zns4xspw9w1f84sf8cz30mp2fl1jyjc2ca09gkqhzhgaj055y7k";

  src = fetchFromGitHub {
    owner = "NerdyPepper";
    repo = "${pname}";
    rev = "v${version}";
    sha256 = "1vqr6z4vicqx1lm5ll09za4jh8rki2qbav1pawz15hqqzps3y8h1";
  };

  cargoPatches = [ ./Cargo.lock.patch ];

  meta = with stdenv.lib; {
    description = "A calculator REPL, similar to bc";
    homepage = https://github.com/NerdyPepper/eva;
    license = licenses.mit;
    maintainers = with maintainers; [ nrdxp ];
  };
}