eva: 0.2.5 -> 0.2.7
Please note that this update is pinned to a git rev as there's no tag for 0.2.7, but a release on crates.io[1], this is reported in the repo[2]. Also added a patch to fix the test-suite[3]. [1] https://crates.io/crates/eva/0.2.7 [2] https://github.com/NerdyPepper/eva/issues/32 [3] https://github.com/NerdyPepper/eva/pull/33
This commit is contained in:
@@ -1,24 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, fetchpatch }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "eva";
|
||||
version = "0.2.5";
|
||||
version = "0.2.7";
|
||||
|
||||
cargoSha256 = "1zns4xspw9w1f84sf8cz30mp2fl1jyjc2ca09gkqhzhgaj055y7k";
|
||||
cargoSha256 = "0n3xvlmp4l925nbz8lx6dr9yrrfh6z7b9z8wd6sli3a1dq26d6bg";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NerdyPepper";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vqr6z4vicqx1lm5ll09za4jh8rki2qbav1pawz15hqqzps3y8h1";
|
||||
rev = "6ce0fc0212a34ffb647b24d9d903029ac4518165";
|
||||
sha256 = "10242vnq2ph0g3p2hdacs4lmx3f474xm04nadplxbpv9xh4nbag3";
|
||||
};
|
||||
|
||||
cargoPatches = [ ./Cargo.lock.patch ];
|
||||
|
||||
patches = [
|
||||
# to fix the test suite (can be removed as soon as #33 is merged).
|
||||
(fetchpatch {
|
||||
url = https://github.com/NerdyPepper/eva/commit/cacf51dbb9748b1dbe97b35f3c593a0a272bd4db.patch;
|
||||
sha256 = "11q7dkz2x1888f3awnlr1nbbxzzfjrr46kd0kk6sgjdkyfh50cvv";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A calculator REPL, similar to bc";
|
||||
homepage = https://github.com/NerdyPepper/eva;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nrdxp ];
|
||||
maintainers = with maintainers; [ nrdxp ma27 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user