1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/misc/eva/default.nix

25 lines
625 B
Nix
Raw Normal View History

2019-10-26 21:13:51 +01:00
{ 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 ];
};
}