mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 23:33:30 +00:00
Merge pull request #140400 from figsoda/fix-gobang
gobang: fix darwin build
This commit is contained in:
commit
f9897583db
@ -1,4 +1,11 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
, CoreFoundation
|
||||||
|
, Security
|
||||||
|
, SystemConfiguration
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gobang";
|
pname = "gobang";
|
||||||
@ -13,6 +20,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-Tiefet5gLpiuYY6Scg5fjnaPiZfVl5Gy2oZFdhgNRxY=";
|
cargoSha256 = "sha256-Tiefet5gLpiuYY6Scg5fjnaPiZfVl5Gy2oZFdhgNRxY=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
CoreFoundation
|
||||||
|
Security
|
||||||
|
SystemConfiguration
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cross-platform TUI database management tool written in Rust";
|
description = "A cross-platform TUI database management tool written in Rust";
|
||||||
homepage = "https://github.com/tako8ki/gobang";
|
homepage = "https://github.com/tako8ki/gobang";
|
||||||
|
@ -11798,7 +11798,9 @@ with pkgs;
|
|||||||
|
|
||||||
go-junit-report = callPackage ../development/tools/go-junit-report { };
|
go-junit-report = callPackage ../development/tools/go-junit-report { };
|
||||||
|
|
||||||
gobang = callPackage ../development/tools/database/gobang { };
|
gobang = callPackage ../development/tools/database/gobang {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
|
||||||
|
};
|
||||||
|
|
||||||
gogetdoc = callPackage ../development/tools/gogetdoc { };
|
gogetdoc = callPackage ../development/tools/gogetdoc { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user