From c294019fa3fafd7d70ad1d73ce5ecc40d5981baf Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 29 Sep 2021 11:10:32 -0400 Subject: [PATCH] gobang: init at 0.1.0-alpha.5 --- .../tools/database/gobang/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/database/gobang/default.nix diff --git a/pkgs/development/tools/database/gobang/default.nix b/pkgs/development/tools/database/gobang/default.nix new file mode 100644 index 000000000000..dc861337c252 --- /dev/null +++ b/pkgs/development/tools/database/gobang/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "gobang"; + version = "0.1.0-alpha.5"; + + src = fetchFromGitHub { + owner = "tako8ki"; + repo = pname; + rev = "v${version}"; + sha256 = "02glb3hlprpdc72ji0248a7g0vr36yxr0gfbbms2m25v251dyaa6"; + }; + + cargoSha256 = "sha256-Tiefet5gLpiuYY6Scg5fjnaPiZfVl5Gy2oZFdhgNRxY="; + + meta = with lib; { + description = "A cross-platform TUI database management tool written in Rust"; + homepage = "https://github.com/tako8ki/gobang"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5462c9f43f9c..27a393b39d05 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11753,6 +11753,8 @@ with pkgs; go-junit-report = callPackage ../development/tools/go-junit-report { }; + gobang = callPackage ../development/tools/database/gobang { }; + gogetdoc = callPackage ../development/tools/gogetdoc { }; gox = callPackage ../development/tools/gox { };