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