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