9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-QhasTFGOFOjzNKdQtA+eBhKy51O4dFt6vpeIAIOM2rQ=";
21 OPENSSL_NO_VENDOR = 1;
23 cargoHash = "sha256-QyhoYgqBfK6LCdtLuo0feVCgIMPueYeA8MMGspGLbGQ=";
25 nativeBuildInputs = [ pkg-config ];
32 export OPENSSL_DIR=${lib.getDev openssl}
33 export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib
36 # The integration tests will start downloading docker image of DynamoDB, which
37 # will naturally fail for nix build. The CLI tests do not need DynamoDB.
38 cargoTestFlags = [ "cli_tests" ];
41 description = "DynamoDB CLI written in Rust";
43 homepage = "https://github.com/awslabs/dynein";
44 license = licenses.asl20;
45 platforms = platforms.unix;
46 maintainers = with maintainers; [ pimeys ];