Merge pull request #184282 from lucperkins/lperkins/refinery-cli

This commit is contained in:
Sandro 2022-08-04 00:07:41 +02:00 committed by GitHub
commit 6a8ff7f1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ 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 ];
};
}

View file

@ -3493,6 +3493,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
refinery-cli = callPackage ../development/tools/refinery-cli { };
digitemp = callPackage ../tools/misc/digitemp { };
dijo = callPackage ../tools/misc/dijo {