Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
libtool,
autoreconfHook,
pkg-config,
autoconf-archive,
libxml2,
zlib,
bzip2,
libtar,
frog,
timblserver,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ticcutils";
version = "0.15";
src = fetchFromGitHub {
owner = "LanguageMachines";
repo = "ticcutils";
tag = "v${finalAttrs.version}";
hash = "sha256-1+Plo2yZyDJWn/Yk4pawQGzwdx2UBfER9ZYAYLgYGh0=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
buildInputs = [
libtool
autoconf-archive
libxml2
# optional:
zlib
bzip2
libtar
# broken but optional: boost
];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
/**
Reverse dependencies. Does not respect overrides.
*/
reverseDependencies = lib.recurseIntoAttrs {
inherit frog timblserver;
};
};
};
meta = with lib; {
description = "This module contains useful functions for general use in the TiCC software stack and beyond";
homepage = "https://github.com/LanguageMachines/ticcutils";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ roberth ];
};
})