Files
nixpkgs/pkgs/by-name/ti/ticcutils/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

66 lines
1.2 KiB
Nix

{
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 ];
};
})