2022-04-15 10:18:17 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2019-10-26 20:13:51 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "eva";
|
2022-04-15 10:18:17 +00:00
|
|
|
version = "0.3.0";
|
2019-10-26 20:13:51 +00:00
|
|
|
|
2022-04-15 10:18:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nerdypepper";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-INXKjjHW9HZ1NWx1CQOerTBUy0rYFLNJMuRgKQfQwdc=";
|
2019-10-26 20:13:51 +00:00
|
|
|
};
|
|
|
|
|
2022-04-15 10:18:17 +00:00
|
|
|
cargoSha256 = "sha256-4l9y2qmS7G1PvxF8/51F7fx/sDuYHWDkcyOin2sYHdk=";
|
2019-12-05 13:41:01 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-26 20:13:51 +00:00
|
|
|
description = "A calculator REPL, similar to bc";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/NerdyPepper/eva";
|
2019-10-26 20:13:51 +00:00
|
|
|
license = licenses.mit;
|
2019-12-05 13:41:01 +00:00
|
|
|
maintainers = with maintainers; [ nrdxp ma27 ];
|
2019-10-26 20:13:51 +00:00
|
|
|
};
|
|
|
|
}
|