2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, gtk2, cairo, glib, pkgconfig }:
|
2010-07-28 16:35:01 +01:00
|
|
|
|
2016-05-25 11:33:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
majVersion = "1.0";
|
|
|
|
version = "${majVersion}.0";
|
|
|
|
name = "goocanvas-${version}";
|
2008-12-02 12:28:13 +00:00
|
|
|
|
2010-07-28 16:35:01 +01:00
|
|
|
src = fetchurl {
|
2016-05-25 11:33:14 +01:00
|
|
|
url = "mirror://gnome/sources/goocanvas/${majVersion}/${name}.tar.bz2";
|
|
|
|
sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
|
2008-12-02 12:28:13 +00:00
|
|
|
};
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ gtk2 cairo glib pkgconfig ];
|
2008-12-02 12:28:13 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 16:35:01 +01:00
|
|
|
description = "Canvas widget for GTK+ based on the the Cairo 2D library";
|
|
|
|
homepage = http://goocanvas.sourceforge.net/;
|
|
|
|
license = ["GPL" "LGPL"];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2008-12-02 12:28:13 +00:00
|
|
|
};
|
|
|
|
}
|