mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
41 lines
851 B
Nix
41 lines
851 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
stdenv,
|
|
darwin,
|
|
}:
|
|
let
|
|
version = "0.1.0-alpha.5";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "gobang";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tako8ki";
|
|
repo = "gobang";
|
|
rev = "v${version}";
|
|
hash = "sha256-RinfQhG7iCp0Xcs9kLs3I2/wjkJEgCjFYe3mS+FY9Ak=";
|
|
};
|
|
|
|
cargoPatches = [ ./update-sqlx.patch ];
|
|
|
|
cargoHash = "sha256-3A3bf7iq1acsWttKmcJmxWM74B0qUIcROBAkjDZFKxE=";
|
|
|
|
buildInputs =
|
|
with darwin.apple_sdk.frameworks;
|
|
lib.optionals stdenv.isDarwin [
|
|
CoreFoundation
|
|
Security
|
|
SystemConfiguration
|
|
];
|
|
|
|
meta = {
|
|
description = "Cross-platform TUI database management tool written in Rust";
|
|
homepage = "https://github.com/tako8ki/gobang";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
};
|
|
}
|