nixpkgs/pkgs/tools/misc/eva/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
573 B
Nix
Raw Normal View History

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