2019-04-24 23:46:07 -07:00
|
|
|
{ stdenv, fetchurl, gtk2, cairo, glib, pkgconfig, gnome3 }:
|
2010-07-28 08:35:01 -07:00
|
|
|
|
2016-05-25 03:33:14 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-24 23:46:07 -07:00
|
|
|
pname = "goocanvas";
|
|
|
|
version = "1.0.0";
|
2008-12-02 04:28:13 -08:00
|
|
|
|
2010-07-28 08:35:01 -07:00
|
|
|
src = fetchurl {
|
2019-04-24 23:46:07 -07:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2016-05-25 03:33:14 -07:00
|
|
|
sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
|
2008-12-02 04:28:13 -08:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 cairo glib ];
|
2008-12-02 04:28:13 -08:00
|
|
|
|
2019-04-24 23:46:07 -07:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-05-04 06:59:55 -07:00
|
|
|
versionPolicy = "none";
|
2019-04-24 23:46:07 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-05-04 06:59:55 -07:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 08:35:01 -07:00
|
|
|
description = "Canvas widget for GTK+ based on the the Cairo 2D library";
|
2019-05-04 06:59:55 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
|
|
|
|
license = licenses.lgpl2;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-12-02 04:28:13 -08:00
|
|
|
};
|
|
|
|
}
|