Merge pull request #217715 from sirkonst/patch-1

edgedb: 2.0.1 -> 2.3.1
This commit is contained in:
Mario Rodas
2023-02-24 06:44:13 -05:00
committed by GitHub
+13 -5
View File
@@ -4,7 +4,7 @@
, patchelf
, fetchFromGitHub
, rustPlatform
, makeWrapper
, makeBinaryWrapper
, pkg-config
, curl
, Security
@@ -13,22 +13,25 @@
, xz
, perl
, substituteAll
# for passthru.tests:
, edgedb
, testers
}:
rustPlatform.buildRustPackage rec {
pname = "edgedb";
version = "2.0.1";
version = "2.3.1";
src = fetchFromGitHub {
owner = "edgedb";
repo = "edgedb-cli";
rev = "v${version}";
sha256 = "sha256-U+fF0t+dj8wUfCviNu/zcoz3lhMXcQlDgz8B3gB+EJI=";
sha256 = "sha256-iL8tD6cvFVWqsQAk6HBUqdz7MJ3lT2XmExGQvdQdIWs=";
};
cargoSha256 = "sha256-Pm3PBg7sbFwLHaozfsbQbPd4gmcMUHxmGT4AsQRDX0g=";
cargoSha256 = "sha256-dGeRTo6pFwDKd/nTaA3R9DWGiAL0Dm6jEVR1zhF6/BQ=";
nativeBuildInputs = [ makeWrapper pkg-config perl ];
nativeBuildInputs = [ makeBinaryWrapper pkg-config perl ];
buildInputs = [
curl
@@ -46,6 +49,11 @@ rustPlatform.buildRustPackage rec {
doCheck = false;
passthru.tests.version = testers.testVersion {
package = edgedb;
command = "edgedb --version";
};
meta = with lib; {
description = "EdgeDB cli";
homepage = "https://www.edgedb.com/docs/cli/index";