From f99e9325adff1d2b61387ad7478a14287f5d5084 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 16 Sep 2023 02:06:14 +0000 Subject: [PATCH 1/3] refinery-cli: 0.8.10 -> 0.8.11 --- pkgs/development/tools/refinery-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/refinery-cli/default.nix b/pkgs/development/tools/refinery-cli/default.nix index 33fea63df5d0..eb472a5dca4a 100644 --- a/pkgs/development/tools/refinery-cli/default.nix +++ b/pkgs/development/tools/refinery-cli/default.nix @@ -2,15 +2,15 @@ rustPlatform.buildRustPackage rec { pname = "refinery-cli"; - version = "0.8.10"; + version = "0.8.11"; src = fetchCrate { pname = "refinery_cli"; inherit version; - sha256 = "sha256-6nb/RduzoTK5UtdzYBLdKkYTUrV9A1w1ZePqr3cO534="; + sha256 = "sha256-Dx0xcPQsq5fYrjgCrEjXyQJOpjEF9d1vavTo+LUKSyE="; }; - cargoHash = "sha256-rdxcWsLwhWuqGE5Z698NULg6Y2nkLqiIqEpBpceflk0="; + cargoHash = "sha256-giD9yBbC3Fsgtch6lkMLGkYik/hivK48Um2qWI7EV+A="; nativeBuildInputs = [ pkg-config ]; From b7c56ae8e9a891ff358ea1c089aad57de0c5569b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 16 Sep 2023 04:20:00 +0000 Subject: [PATCH 2/3] refinery-cli: fix build on darwin --- pkgs/development/tools/refinery-cli/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/refinery-cli/default.nix b/pkgs/development/tools/refinery-cli/default.nix index eb472a5dca4a..8205687adae5 100644 --- a/pkgs/development/tools/refinery-cli/default.nix +++ b/pkgs/development/tools/refinery-cli/default.nix @@ -1,4 +1,4 @@ -{ fetchCrate, lib, openssl, pkg-config, rustPlatform }: +{ fetchCrate, lib, stdenv, openssl, pkg-config, rustPlatform, darwin }: rustPlatform.buildRustPackage rec { pname = "refinery-cli"; @@ -14,7 +14,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ]; meta = with lib; { description = "Run migrations for the Refinery ORM for Rust via the CLI"; From 62625bf570dafae2d6773c87971198a67d479a3d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 16 Sep 2023 04:20:00 +0000 Subject: [PATCH 3/3] refinery-cli: add changelog to meta --- pkgs/development/tools/refinery-cli/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/refinery-cli/default.nix b/pkgs/development/tools/refinery-cli/default.nix index 8205687adae5..1159c87e8a38 100644 --- a/pkgs/development/tools/refinery-cli/default.nix +++ b/pkgs/development/tools/refinery-cli/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Run migrations for the Refinery ORM for Rust via the CLI"; homepage = "https://github.com/rust-db/refinery"; + changelog = "https://github.com/rust-db/refinery/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ lucperkins ]; };