From af564fbd8a8bed14ee4758b39fb3eeef4750520f Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 16 Sep 2019 22:46:26 +0200 Subject: [PATCH] evcxr: 0.4.4 -> 0.4.5 New release: https://github.com/google/evcxr/blob/v0.4.5/RELEASE_NOTES.md#version-045 Also added myself as maintainer and removed `zeromq` from the build inputs as it's now vendored by upstream. --- .../interpreters/evcxr/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/interpreters/evcxr/default.nix b/pkgs/development/interpreters/evcxr/default.nix index 54ee243cb33e..c4259091f7b1 100644 --- a/pkgs/development/interpreters/evcxr/default.nix +++ b/pkgs/development/interpreters/evcxr/default.nix @@ -1,30 +1,30 @@ -{ cargo, fetchFromGitHub, makeWrapper, pkgconfig, rustPlatform, stdenv, gcc, Security, zeromq }: +{ cargo, fetchFromGitHub, makeWrapper, pkgconfig, rustPlatform, stdenv, gcc, Security, cmake }: rustPlatform.buildRustPackage rec { pname = "evcxr"; - version = "0.4.4"; + version = "0.4.5"; src = fetchFromGitHub { owner = "google"; repo = "evcxr"; rev = "v${version}"; - sha256 = "1j2vsqgljqw7415rgjlnc1w3nmr9ghizx2mncbm1yipwj8xbrmf6"; + sha256 = "13fs9fgvdf8bh6vc8xs8qhil0a1qhm4gvv0ici37xh8a94ngsn7h"; }; - cargoSha256 = "0ckxpmi547y7q4w287znimpxgaj3mjkgmkcs2n9cp4m8cw143hly"; + cargoSha256 = "0g17g12isah4nkqp9i299qr1sz19k4czcc43rm1wbs0y9szaqvwc"; - nativeBuildInputs = [ pkgconfig makeWrapper ]; - buildInputs = [ zeromq ] ++ stdenv.lib.optional stdenv.isDarwin Security; + nativeBuildInputs = [ pkgconfig makeWrapper cmake ]; + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; postInstall = '' wrapProgram $out/bin/evcxr --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]} rm $out/bin/testing_runtime ''; - meta = { + meta = with stdenv.lib; { description = "An evaluation context for Rust"; homepage = "https://github.com/google/evcxr"; - license = stdenv.lib.licenses.asl20; - maintainers = [ stdenv.lib.maintainers.protoben ]; - platforms = stdenv.lib.platforms.all; + license = licenses.asl20; + maintainers = with maintainers; [ protoben ma27 ]; + platforms = platforms.all; }; }