nixpkgs/pkgs/development/libraries/languagemachines/ticcutils.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

31 lines
1.0 KiB
Nix

{ stdenv, fetchurl
, automake, autoconf, libtool, pkg-config, autoconf-archive
, libxml2, zlib, bzip2, libtar }:
let
release = builtins.fromJSON (builtins.readFile ./release-info/LanguageMachines-ticcutils.json);
in
stdenv.mkDerivation {
name = "ticcutils-${release.version}";
version = release.version;
src = fetchurl { inherit (release) url sha256;
name = "ticcutils-${release.version}.tar.gz"; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ automake autoconf libtool autoconf-archive libxml2
# optional:
zlib bzip2 libtar
# broken but optional: boost
];
preConfigure = "sh bootstrap.sh";
meta = with stdenv.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 ];
};
}