nixpkgs/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
666 B
Nix
Raw Normal View History

2022-07-31 17:36:52 +00:00
{ fetchCrate, lib, openssl, pkg-config, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "refinery-cli";
2022-11-29 16:54:51 +00:00
version = "0.8.7";
2022-07-31 17:36:52 +00:00
src = fetchCrate {
pname = "refinery_cli";
inherit version;
2022-11-29 16:54:51 +00:00
sha256 = "sha256-M4Kq1Sy5kJayESv0hHIktCf1bQgNOEFQcjg4RCqFCK4=";
2022-07-31 17:36:52 +00:00
};
2022-11-29 16:54:51 +00:00
cargoSha256 = "sha256-LObxOh2lOtSTm4gITTbQ2S9rMlyUOAAvMJmtvZy5bJs=";
2022-07-31 17:36:52 +00: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 ];
};
}