numbat: Add support for darwin

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
Guillaume Fournier
2023-11-01 15:31:03 +01:00
committed by Guillaume Fournier
co-authored by OTABI Tomoya
parent d074b63cb0
commit 53da5fe996
+6
View File
@@ -1,6 +1,8 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
}:
rustPlatform.buildRustPackage rec {
@@ -16,6 +18,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-MPqJjCfIwgK8QigWQYfWAYlg9RNMzF4x+0SprS0raKY=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "High precision scientific calculator with full support for physical units";
longDescription = ''