Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / database / gobang / default.nix
blobb3611169996cb63d09e03a610f417fd435345d2a
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , CoreFoundation
6 , Security
7 , SystemConfiguration
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "gobang";
12   version = "0.1.0-alpha.5";
14   src = fetchFromGitHub {
15     owner = "tako8ki";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "02glb3hlprpdc72ji0248a7g0vr36yxr0gfbbms2m25v251dyaa6";
19   };
21   cargoSha256 = "sha256-Tiefet5gLpiuYY6Scg5fjnaPiZfVl5Gy2oZFdhgNRxY=";
23   buildInputs = lib.optionals stdenv.isDarwin [
24     CoreFoundation
25     Security
26     SystemConfiguration
27   ];
29   meta = with lib; {
30     description = "A cross-platform TUI database management tool written in Rust";
31     homepage = "https://github.com/tako8ki/gobang";
32     license = licenses.mit;
33     maintainers = with maintainers; [ figsoda ];
34   };