Merge pull request #149726 from terlar/add-amazon-qldb-shell
amazon-qldb-shell: init at 2.0.0
This commit is contained in:
commit
3f73de1332
2 changed files with 42 additions and 0 deletions
40
pkgs/development/tools/amazon-qldb-shell/default.nix
Normal file
40
pkgs/development/tools/amazon-qldb-shell/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, clang
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, rustPlatform
|
||||
, testVersion
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "amazon-qldb-shell";
|
||||
version = "2.0.0";
|
||||
package = rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Pnm1HxEjjNKpS3tTymtOXxUF7EEnWM+7WBsqeaG8seA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ clang cmake ];
|
||||
buildInputs = [ llvmPackages.libclang ];
|
||||
|
||||
cargoSha256 = "sha256-EUqGSKcGnhrdLn8ystaLkkR31RjEvjW6vRzKPMK77e8=";
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
passthru.tests.version = testVersion { inherit package; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interface to send PartiQL statements to Amazon Quantum Ledger Database (QLDB)";
|
||||
homepage = "https://github.com/awslabs/amazon-qldb-shell";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.terlar ];
|
||||
};
|
||||
};
|
||||
in
|
||||
package
|
|
@ -1258,6 +1258,8 @@ with pkgs;
|
|||
|
||||
amazon-ecs-cli = callPackage ../tools/virtualization/amazon-ecs-cli { };
|
||||
|
||||
amazon-qldb-shell = callPackage ../development/tools/amazon-qldb-shell { };
|
||||
|
||||
amber = callPackage ../tools/text/amber {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue