{ pkgs ? import {} }: with builtins; with pkgs; rustPlatform.buildRustPackage rec { pname = "rpb-s3"; version = "0.1.0"; ignore = map toString [ ./target ]; src = filterSource (path: type: !elem path ignore) ./.; nativeBuildInputs = [ rustc cargo pkgconfig ]; buildInputs = [ openssl ]; RUST_BACKTRACE = "1"; cargoSha256 = "0hazg86j3c7fsc9fpdi34wy782xznljwhpmnz5ah5ppwc7gxyxfb"; postInstall = '' ln -s $out/bin/rpb-s3 $out/bin/pb ''; doCheck = false; }