depot/third_party/nixpkgs/pkgs/development/tools/refinery-cli/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

25 lines
666 B
Nix

{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "refinery-cli";
version = "0.8.5";
src = fetchCrate {
pname = "refinery_cli";
inherit version;
sha256 = "sha256-I9YjMsl70eiws4ea0P9oqOsNzN+gfO5Jwr7VlFCltq8=";
};
cargoSha256 = "sha256-Ehofdr6UNtOwRT0QVFaXDrWFRPqdF9eA8eL/hRwIJUM=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "Run migrations for the Refinery ORM for Rust via the CLI";
homepage = "https://github.com/rust-db/refinery";
license = licenses.mit;
maintainers = with maintainers; [ lucperkins ];
};
}