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.
35 lines
998 B
Nix
35 lines
998 B
Nix
{ fetchurl, stdenv, guile, guile-lib, libffi, pkg-config, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "g-wrap";
|
|
version = "1.9.15";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
# Note: Glib support is optional, but it's quite useful (e.g., it's used by
|
|
# Guile-GNOME).
|
|
buildInputs = [ guile glib guile-lib ];
|
|
|
|
propagatedBuildInputs = [ libffi ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A wrapper generator for Guile";
|
|
longDescription = ''
|
|
G-Wrap is a tool (and Guile library) for generating function wrappers for
|
|
inter-language calls. It currently only supports generating Guile
|
|
wrappers for C functions.
|
|
'';
|
|
homepage = "https://www.nongnu.org/g-wrap/";
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ vyp ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|