diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/eva/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/eva/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/tools/misc/eva/default.nix b/nixpkgs/pkgs/tools/misc/eva/default.nix index 038ecc7bf228..934a19209d0e 100644 --- a/nixpkgs/pkgs/tools/misc/eva/default.nix +++ b/nixpkgs/pkgs/tools/misc/eva/default.nix @@ -1,22 +1,20 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, rustPlatform, fetchCrate }: rustPlatform.buildRustPackage rec { pname = "eva"; - version = "0.3.0"; + version = "0.3.1"; - src = fetchFromGitHub { - owner = "nerdypepper"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-INXKjjHW9HZ1NWx1CQOerTBUy0rYFLNJMuRgKQfQwdc="; + src = fetchCrate { + inherit pname version; + sha256 = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec="; }; - cargoSha256 = "sha256-4l9y2qmS7G1PvxF8/51F7fx/sDuYHWDkcyOin2sYHdk="; + cargoSha256 = "sha256-gnym2sedyzQzubOtj64Yoh+sKT+sa60w/Z72hby7Pms="; meta = with lib; { description = "A calculator REPL, similar to bc"; homepage = "https://github.com/NerdyPepper/eva"; license = licenses.mit; - maintainers = with maintainers; [ nrdxp ma27 ]; + maintainers = with maintainers; [ nrdxp ma27 figsoda ]; }; } |