nixpkgs-suyu/pkgs/development/tools/refinery-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
665 B
Nix
Raw Normal View History

2022-07-31 19:36:52 +02:00
{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "refinery-cli";
2023-05-22 08:01:57 +02:00
version = "0.8.10";
2022-07-31 19:36:52 +02:00
src = fetchCrate {
pname = "refinery_cli";
inherit version;
2023-05-22 08:01:57 +02:00
sha256 = "sha256-6nb/RduzoTK5UtdzYBLdKkYTUrV9A1w1ZePqr3cO534=";
2022-07-31 19:36:52 +02:00
};
2023-05-22 08:01:57 +02:00
cargoHash = "sha256-rdxcWsLwhWuqGE5Z698NULg6Y2nkLqiIqEpBpceflk0=";
2022-07-31 19:36:52 +02:00
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 ];
};
}