about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/languagemachines/ticcutils.nix
blob: 0b5fef292fcfff4911589d1db4eff4ad5fc280fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, stdenv, fetchurl
, automake, autoconf, libtool, pkg-config, autoconf-archive
, libxml2, zlib, bzip2, libtar }:

let
  release = lib.importJSON ./release-info/LanguageMachines-ticcutils.json;
in

stdenv.mkDerivation {
  pname = "ticcutils";
  version = release.version;
  src = fetchurl { inherit (release) url sha256;
                   name = "ticcutils-${release.version}.tar.gz"; };
  nativeBuildInputs = [ pkg-config automake autoconf ];
  buildInputs = [ libtool autoconf-archive libxml2
                  # optional:
                  zlib bzip2 libtar
                  # broken but optional: boost
                ];
  preConfigure = "sh bootstrap.sh";

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

}