Unverified Commit 400df271 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #255405 from r-ryantm/auto-update/refinery-cli

refinery-cli: 0.8.10 -> 0.8.11
parents f7699497 62625bf5
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
{ fetchCrate, lib, stdenv, openssl, pkg-config, rustPlatform, darwin }:

rustPlatform.buildRustPackage rec {
  pname = "refinery-cli";
  version = "0.8.10";
  version = "0.8.11";

  src = fetchCrate {
    pname = "refinery_cli";
    inherit version;
    sha256 = "sha256-6nb/RduzoTK5UtdzYBLdKkYTUrV9A1w1ZePqr3cO534=";
    sha256 = "sha256-Dx0xcPQsq5fYrjgCrEjXyQJOpjEF9d1vavTo+LUKSyE=";
  };

  cargoHash = "sha256-rdxcWsLwhWuqGE5Z698NULg6Y2nkLqiIqEpBpceflk0=";
  cargoHash = "sha256-giD9yBbC3Fsgtch6lkMLGkYik/hivK48Um2qWI7EV+A=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ];
  buildInputs = [ openssl ]
    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];

  meta = with lib; {
    description = "Run migrations for the Refinery ORM for Rust via the CLI";
    homepage = "https://github.com/rust-db/refinery";
    changelog = "https://github.com/rust-db/refinery/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ lucperkins ];
  };