1 { fetchCrate, lib, openssl, pkg-config, rustPlatform }:
3 rustPlatform.buildRustPackage rec {
4 pname = "refinery-cli";
8 pname = "refinery_cli";
10 sha256 = "sha256-vT/iM+o9ZrotiBz6mq9IVVJAkK97QUlOiZp6tg3O8pI=";
13 cargoSha256 = "sha256-DMQr0Qtr2c3BHWqTb+IW2cV1fwWIFMY5koR2GPceYHQ=";
15 nativeBuildInputs = [ pkg-config ];
17 buildInputs = [ openssl ];
20 description = "Run migrations for the Refinery ORM for Rust via the CLI";
21 homepage = "https://github.com/rust-db/refinery";
22 license = licenses.mit;
23 maintainers = with maintainers; [ lucperkins ];