567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
868 B
Nix
38 lines
868 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
fetchFromGitHub,
|
|
mariadb-connector-c,
|
|
...
|
|
}:
|
|
|
|
{
|
|
pname = "gerbil-mysql";
|
|
version = "unstable-2023-09-23";
|
|
git-version = "ecec94c";
|
|
gerbil-package = "clan";
|
|
gerbilInputs = [ ];
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
buildInputs = [ mariadb-connector-c ];
|
|
version-path = "";
|
|
softwareName = "Gerbil-MySQL";
|
|
|
|
pre-src = {
|
|
fun = fetchFromGitHub;
|
|
owner = "mighty-gerbils";
|
|
repo = "gerbil-mysql";
|
|
rev = "ecec94c76d7aa23331b7e02ac7732a7923f100a5";
|
|
sha256 = "01506r0ivgp6cxvwracmg7pwr735ngb7899ga3lxy181lzkp6b2c";
|
|
};
|
|
|
|
meta = {
|
|
description = "MySQL bindings for Gerbil";
|
|
homepage = "https://github.com/mighty-gerbils/gerbil-mysql";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ fare ];
|
|
};
|
|
|
|
# "-L${mariadb-connector-c}/lib/mariadb"
|
|
}
|