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
834 B
Nix
38 lines
834 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
fetchFromGitHub,
|
|
libyaml,
|
|
...
|
|
}:
|
|
|
|
{
|
|
pname = "gerbil-libyaml";
|
|
version = "unstable-2023-09-23";
|
|
git-version = "398a197";
|
|
gerbil-package = "clan";
|
|
gerbilInputs = [ ];
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
buildInputs = [ libyaml ];
|
|
version-path = "";
|
|
softwareName = "Gerbil-LibYAML";
|
|
|
|
pre-src = {
|
|
fun = fetchFromGitHub;
|
|
owner = "mighty-gerbils";
|
|
repo = "gerbil-libyaml";
|
|
rev = "398a19782b1526de94b70de165c027d4b6029dac";
|
|
sha256 = "0plmwx1i23c9nzzg6zxz2xi0y92la97mak9hg6h3c6d8kxvajb5c";
|
|
};
|
|
|
|
meta = {
|
|
description = "libyaml bindings for Gerbil";
|
|
homepage = "https://github.com/mighty-gerbils/gerbil-libyaml";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ fare ];
|
|
};
|
|
|
|
# "-L${libyaml}/lib"
|
|
}
|