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.
29 lines
789 B
Nix
29 lines
789 B
Nix
{ stdenv, fetchurl, gtk2, cairo, glib, pkg-config, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "goocanvas";
|
|
version = "1.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ gtk2 cairo glib ];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Canvas widget for GTK based on the the Cairo 2D library";
|
|
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
|
|
license = licenses.lgpl2;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|