1{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "refinery-cli";
5 version = "0.8.10";
6
7 src = fetchCrate {
8 pname = "refinery_cli";
9 inherit version;
10 sha256 = "sha256-6nb/RduzoTK5UtdzYBLdKkYTUrV9A1w1ZePqr3cO534=";
11 };
12
13 cargoHash = "sha256-rdxcWsLwhWuqGE5Z698NULg6Y2nkLqiIqEpBpceflk0=";
14
15 nativeBuildInputs = [ pkg-config ];
16
17 buildInputs = [ openssl ];
18
19 meta = with lib; {
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 ];
24 };
25}