nixpkgs/pkgs/tools/misc/eva/default.nix
Maximilian Bosch b56bba188b
eva: 0.2.7 -> 0.3.0
Changes: https://github.com/nerdypepper/eva/compare/v0.2.7...v0.3.0

I ha to go back to using `fetchFromGitHub` because `0.3.0` is not
published on crates.io (cc @NerdyPepper).
2022-04-15 13:12:15 +02:00

23 lines
573 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "eva";
version = "0.3.0";
src = fetchFromGitHub {
owner = "nerdypepper";
repo = pname;
rev = "v${version}";
sha256 = "sha256-INXKjjHW9HZ1NWx1CQOerTBUy0rYFLNJMuRgKQfQwdc=";
};
cargoSha256 = "sha256-4l9y2qmS7G1PvxF8/51F7fx/sDuYHWDkcyOin2sYHdk=";
meta = with lib; {
description = "A calculator REPL, similar to bc";
homepage = "https://github.com/NerdyPepper/eva";
license = licenses.mit;
maintainers = with maintainers; [ nrdxp ma27 ];
};
}