9bb3fccb5b
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.
31 lines
880 B
Nix
31 lines
880 B
Nix
{ stdenv, fetchurl
|
|
, automake, autoconf, libtool, pkg-config, autoconf-archive
|
|
}:
|
|
|
|
let
|
|
release = builtins.fromJSON (builtins.readFile ./release-info/LanguageMachines-frogdata.json);
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "frogdata-${release.version}";
|
|
version = release.version;
|
|
src = fetchurl { inherit (release) url sha256;
|
|
name = "frogdata-${release.version}.tar.gz"; };
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ automake autoconf libtool autoconf-archive
|
|
];
|
|
|
|
preConfigure = ''
|
|
sh bootstrap.sh
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Data for Frog, a Tagger-Lemmatizer-Morphological-Analyzer-Dependency-Parser for Dutch";
|
|
homepage = "https://languagemachines.github.io/frog";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ roberth ];
|
|
};
|
|
|
|
}
|