mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
b56bba188b
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).
23 lines
573 B
Nix
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 ];
|
|
};
|
|
}
|