2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
|
|
|
, automake, autoconf, libtool, pkg-config, autoconf-archive
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxml2, zlib, bzip2, libtar }:
|
|
|
|
|
|
|
|
let
|
2021-12-06 16:07:01 +00:00
|
|
|
release = lib.importJSON ./release-info/LanguageMachines-ticcutils.json;
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ticcutils-${release.version}";
|
|
|
|
version = release.version;
|
|
|
|
src = fetchurl { inherit (release) url sha256;
|
|
|
|
name = "ticcutils-${release.version}.tar.gz"; };
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ pkg-config automake autoconf ];
|
|
|
|
buildInputs = [ libtool autoconf-archive libxml2
|
2020-04-24 23:36:52 +00:00
|
|
|
# optional:
|
|
|
|
zlib bzip2 libtar
|
|
|
|
# broken but optional: boost
|
|
|
|
];
|
|
|
|
preConfigure = "sh bootstrap.sh";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|