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